New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
Retrieve all SPL token accounts owned by a wallet address including token balances, mint addresses, and account metadata with pagination
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getTokenAccounts",
"params": {
"owner": "86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY"
}
}
'{
"last_indexed_slot": 365750752,
"total": 2,
"limit": 100,
"cursor": "<string>",
"token_accounts": [
{
"address": "<string>",
"mint": "<string>",
"owner": "<string>",
"amount": 123,
"delegated_amount": 123,
"frozen": true,
"burnt": "<unknown>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
The version of the JSON-RPC protocol.
2.0 An ID to identify the request.
"1"
The name of the method to invoke.
getTokenAccounts Show child attributes
Successful response
All data up to and including this slot is guaranteed to have been indexed.
365750752
The number of results found for the request.
2
The maximum number of results requested.
100
The cursor used for pagination.
An array of token accounts.
Show child attributes
Was this page helpful?
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getTokenAccounts",
"params": {
"owner": "86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY"
}
}
'{
"last_indexed_slot": 365750752,
"total": 2,
"limit": 100,
"cursor": "<string>",
"token_accounts": [
{
"address": "<string>",
"mint": "<string>",
"owner": "<string>",
"amount": 123,
"delegated_amount": 123,
"frozen": true,
"burnt": "<unknown>"
}
]
}