LaserStream and Sender are now live! Experience ultra-fast data streaming and optimized transaction sending. Learn about LaserStream | Learn about Sender
Returns a list of token accounts for a given mint and owner.
cURL
curl --request POST \ --url https://mainnet.helius-rpc.com/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getTokenAccounts", "params": { "owner": "86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY" } }'
{ "total": 2, "limit": 100, "cursor": "<string>", "token_accounts": [ { "address": "<string>", "mint": "<string>", "owner": "<string>", "amount": 123, "delegated_amount": 123, "frozen": true, "burnt": "<any>" } ] }
Your Helius API key. You can get one for free in the dashboard.
Successful response
The response is of type object.
object
Was this page helpful?