diff --git a/docs/src/developing/clients/jsonrpc-api.md b/docs/src/developing/clients/jsonrpc-api.md index 3195d7c524..1473e032ef 100644 --- a/docs/src/developing/clients/jsonrpc-api.md +++ b/docs/src/developing/clients/jsonrpc-api.md @@ -206,11 +206,11 @@ Returns all information associated with the account of provided Pubkey fields: - (optional) [Commitment](jsonrpc-api.md#configuring-state-commitment) - `encoding: ` - encoding for Account data, either "base58" (*slow*), -"base64", or jsonParsed". "base58" is limited to Account data of less than 128 +"base64", or "jsonParsed". "base58" is limited to Account data of less than 128 bytes. "base64" will return base64 encoded data for Account data of any size. -Parsed-JSON encoding attempts to use program-specific state parsers to return +"jsonParsed" encoding attempts to use program-specific state parsers to return more human-readable and explicit account state data. If parsed-JSON is requested -but a parser cannot be found, the field falls back to base64 encoding, detectable +but a parser cannot be found, the field falls back to "base64" encoding, detectable when the `data` field is type ``. - (optional) `dataSlice: ` - limit the returned account data using the provided `offset: ` and `length: ` fields; only available for @@ -280,7 +280,7 @@ curl http://localhost:8899 -X POST -H "Content-Type: application/json" -d ' "params": [ "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA", { - "encoding": "json" + "encoding": "jsonParsed" } ] }