platform.getCurrentSupply

Returns an upper bound on the number of AVAX that exist. This is an upper bound because it does not account for burnt tokens, including transaction fees.

Signature​

platform.getCurrentSupply() -> {supply: int}
  • supply is an upper bound on the number of AVAX that exist, denominated in nAVAX.

Example

Request

curl -X POST --data '{
    "jsonrpc": "2.0",
    "method": "platform.getCurrentSupply",
    "params": {},
    "id": 1
}' -H 'content-type:application/json;' https://ava-mainnet.blastapi.io/<project-id>/ext/P

Result

{
    "jsonrpc": "2.0",
    "result": {
        "supply": "401749362401932040"
    },
    "id": 1
}

Last updated