Parameters
The Pubkey of account delegate to query encoded as base-58 string
The JSON object with the following fields:
The Pubkey of the specific token Mint to limit accounts to, as base-58 encoded string
The Pubkey of the Token program ID that owns the accounts, as base-58 encoded string
The JSON object with the following fields:
The level of commitment required for the query. The options include:
The node will query the most recent block confirmed by the supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized
The node will query the most recent block that has been voted on by the supermajority of the cluster
The node will query its most recent block. Note that the block may not be complete
(Default: binary) The encoding format for account data. It can be one of base58 (slow), base64, binary, base64+zstd or jsonParsed
The returned account data using the provided offset: 'usize' and length: 'usize' fields; only available for base58, base64, or base64+zstd encodings
The minimum slot at which the request can be evaluated
Returns
An object with the following fields:
The information about the current state of the program
The version of the Solana RPC API to use
An integer representing the slot for which to retrieve the fee calculator
A JSON object with the following fields:
An address on the Solana blockchain that is used to store assets
Token state data associated with the account. Format depends on encoding parameter:
- If the encoding parameter is left as the deprecated default of
binary, this will be a string containing encoded binary data. - If
base58,base64, orbase64+zstdis specified, this will be an array, where the first element is the encoded data string and the second element is the encoding format. - If
jsonParsedis specified, this will be JSON format{<program>: <state>}.
The program that manages the token
An array of parsed instructions that were executed in the block's transactions
An array of information objects that provide additional details about the transactions in the block
The balance of the token in the token account
The raw total token supply without decimals, a string representation of a u64 integer
An integer value representing the number of decimal places used by the token
The total token supply using mint-prescribed decimals (DEPRECATED)
The total token supply as a string using mint-prescribed decimals
The public address of the delegate from which the account tokens are to be retrieved encoded as base-58 string
The configuration object with the following fields:
The raw total token supply without decimals, a string representation of a u64 integer
An integer value representing the number of decimal places used by the token
The total token supply using mint-prescribed decimals (DEPRECATED)
The total token supply as a string using mint-prescribed decimals
A boolean value indicating whether the token is a native token of the Solana blockchain
Provides information about the creation of new tokens
The base-58 encoded Pubkey of the program this account has been assigned to
The current state of the token account
The type of the block. It can be used to differentiate between regular blocks and special blocks such as snapshot or transaction confirmation blocks
The amount of storage space required to store the token account
The public key associated with the token account
1{2"jsonrpc": "2.0",3"result": {4"context": {5"slot": 11146},7"value": [8{9"pubkey": "28YTZEwqtMHWrhWcvv34se7pjS7wctgqzCPB3gReCFKp",10"account": {11"data": {12"program": "spl-token",13"parsed": {14"info": {15"tokenAmount": {16"amount": "1",17"decimals": 1,18"uiAmount": 0.1,19"uiAmountString": "0.1"20},21"delegate": "4Nd1mBQtrMJVYVfKf2PJy9NZUZdTAsp7D4xWLs4gDB4T",22"delegatedAmount": {23"amount": "1",24"decimals": 1,25"uiAmount": 0.1,26"uiAmountString": "0.1"27},28"state": "initialized",29"isNative": false,30"mint": "3wyAj7Rt1TWVPZVteFJPLa26JmLvdb1CAKEFZm3NY75E",31"owner": "CnPoSPKXu7wJqxe59Fs72tkBeALovhsCxYeFwPCQH9TD"32},33"type": "account"34},35"space": 16536},37"executable": false,38"lamports": 1726080,39"owner": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",40"rentEpoch": 4,41"space": 16542}43}44]45},46"id": 147}
1{2"jsonrpc": "2.0",3"result": {4"context": {5"slot": 11146},7"value": [8{9"pubkey": "28YTZEwqtMHWrhWcvv34se7pjS7wctgqzCPB3gReCFKp",10"account": {11"data": {12"program": "spl-token",13"parsed": {14"info": {15"tokenAmount": {16"amount": "1",17"decimals": 1,18"uiAmount": 0.1,19"uiAmountString": "0.1"20},21"delegate": "4Nd1mBQtrMJVYVfKf2PJy9NZUZdTAsp7D4xWLs4gDB4T",22"delegatedAmount": {23"amount": "1",24"decimals": 1,25"uiAmount": 0.1,26"uiAmountString": "0.1"27},28"state": "initialized",29"isNative": false,30"mint": "3wyAj7Rt1TWVPZVteFJPLa26JmLvdb1CAKEFZm3NY75E",31"owner": "CnPoSPKXu7wJqxe59Fs72tkBeALovhsCxYeFwPCQH9TD"32},33"type": "account"34},35"space": 16536},37"executable": false,38"lamports": 1726080,39"owner": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",40"rentEpoch": 4,41"space": 16542}43}44]45},46"id": 147}