Comment on page
platform.getTotalStake
Get the total amount of nAVAX staked on the Primary Network.
platform.getTotalStake() -> {stake: int}
Request
curl -X POST --data '{
"jsonrpc": "2.0",
"method": "platform.getTotalStake",
"params": {},
"id": 1
}
}' -H 'content-type:application/json;' https://ava-mainnet.blastapi.io/<project-id>/ext/P
Result
{
"jsonrpc": "2.0",
"result": {
"stake": "215284401986158843"
},
"id": 1
}
Last modified 1yr ago