LaserStream and Sender are now live! Experience ultra-fast data streaming and optimized transaction sending. Learn about LaserStream | Learn about Sender
Returns the 20 largest accounts, by lamport balance (results may be cached up to two hours).
cURL
curl --request POST \ --url https://mainnet.helius-rpc.com/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getLargestAccounts", "params": [] }'
{ "jsonrpc": "2.0", "id": "1", "result": { "context": { "slot": 54 }, "value": [ { "lamports": 999974, "address": "99P8ZgtJYe1buSK8JXkvpLh8xPsCFuLYhz9hQFNw93WJ" } ] } }
Your Helius API key. You can get one for free in the dashboard.
Successfully retrieved the largest accounts.
The response is of type object.
object
Was this page helpful?