Chain info
platform.getCurrentSupply
GetCurrentSupply returns an upper bound on the supply of AVAX in the system
JSON-RPC request
jsonrpcstring
methodstring
params
Method parameters
idinteger
Response Body
application/json
application/json
curl -X POST "https://api.avax.network/ext/bc/P#platform.getCurrentSupply" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "method": "platform.getCurrentSupply", "params": {}, "id": 1 }'{
"jsonrpc": "2.0",
"result": {
"supply": "1000000000",
"height": "1000000000"
},
"id": 1
}{
"jsonrpc": "2.0",
"error": {
"code": 0,
"message": "string",
"data": {}
},
"id": 1
}Is this guide helpful?