platform.getTotalStake

Get the total amount of nAVAX staked on the Primary Network.

Signature​

platform.getTotalStake() -> {stake: int}

Example

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 updated