curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getSupply",
"params": []
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}
curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getSupply",
"params": []
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}
getSupply
method returns information about the current supply of lamports in the network.
This method provides detailed information about the current supply, including the total supply, the circulating supply, and the non-circulating supply. It is useful for understanding the current state of the network’s economy.
commitment
— (optional) the level of commitment desired:
processed
— the node has processed the block and the block may be on a fork.confirmed
— the block is confirmed by the cluster as not being on a fork.finalized
— the block is finalized by the cluster.value
— the current supply information:
total
— the total supply of lamports.circulating
— the circulating supply of lamports.nonCirculating
— the non-circulating supply of lamports.nonCirculatingAccounts
— the accounts that hold the non-circulating supply.getSupply
is to understand the current state of the network’s economy. This can be useful for wallets or other applications that need to display or make use of this information.Supply details
The response is of type object
.