New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. Learn More
English
Returns the owner balances for a given mint in descending order.
cURL
curl --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": "1", "method": "getCompressedMintTokenHolders", "params": { "mint": "111111152P2r5yt6odmBLPsFCLBrFisJ3aS7LqLAT", "cursor": "3J98t1WpEZ73CNm", "limit": 1 } } '
{ "context": { "slot": 100 }, "value": { "items": [ { "balance": 100, "owner": "111111152P2r5yt6odmBLPsFCLBrFisJ3aS7LqLAT" } ], "cursor": "3J98t1WpEZ73CNm" } }
Your Helius API key. You can get one for free in the dashboard.
The version of the JSON-RPC protocol.
2.0
An ID to identify the request.
The name of the method to invoke.
getCompressedMintTokenHolders
Show child attributes
Successfully retrieved compressed token holders for the specified mint from the Solana blockchain
Was this page helpful?