New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. Learn More
English
Returns information about the current supply.
cURL
curl --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": "1", "method": "getSupply", "params": [ { "commitment": "finalized", "excludeNonCirculatingAccountsList": true } ] } '
{ "jsonrpc": "2.0", "id": "1", "result": { "context": { "slot": 1114 }, "value": { "total": 1016000, "circulating": 16000, "nonCirculating": 1000000, "nonCirculatingAccounts": [ "FEy8pTbP5fEoqMV1GdTz83byuA8EKByqYat1PKDgVAq5", "9huDUZfxoJ7wGMTffUE7vh1xePqef7gyrLJu9NApncqA", "3mi1GmwEE3zo2jmfDuzvjSX9ovRXsDUKHvsntpkhuLJ9", "BYxEJTDerkaRWBem3XgnVcdhppktBXa2HbkHPKj2Ui4Z" ] } } }
Your Helius API key. You can get one for free in the dashboard.
The JSON-RPC protocol version.
2.0
"2.0"
A unique identifier for the request.
"1"
The name of the RPC method to invoke.
getSupply
"getSupply"
Optional configuration object.
Show child attributes
Successfully retrieved the supply information.
Identifier matching the request.
Context and supply details.
Was this page helpful?