diff --git a/docs/src/developing/clients/jsonrpc-api.md b/docs/src/developing/clients/jsonrpc-api.md index bac59ab936..3195d7c524 100644 --- a/docs/src/developing/clients/jsonrpc-api.md +++ b/docs/src/developing/clients/jsonrpc-api.md @@ -202,11 +202,19 @@ Returns all information associated with the account of provided Pubkey #### Parameters: - `` - Pubkey of account to query, as base-58 encoded string -- `` - (optional) Configuration object containing the following optional fields: +- `` - (optional) Configuration object containing the following optional +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 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 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 when the `data` field is type ``. - - (optional) `dataSlice: ` - limit the returned account data using the provided `offset: ` and `length: ` fields; only available for "base58" or "base64" encoding. + - `encoding: ` - encoding for Account data, either "base58" (*slow*), +"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 +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 +when the `data` field is type ``. + - (optional) `dataSlice: ` - limit the returned account data using the +provided `offset: ` and `length: ` fields; only available for +"base58" or "base64" encoding. #### Results: