cURL
curl --request POST \ --url 'https://api.avax.network/ext/bc/P#platform.getTotalStake' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "method": "platform.getTotalStake", "params": {}, "id": 1 }'
{ "jsonrpc": "2.0", "result": { "stake": "1000000000", "weight": "1000000000" }, "id": 1 }
GetTotalStake returns the total amount staked on the Primary Network
JSON-RPC request
"2.0"
"platform.getTotalStake"
Method parameters
Show child attributes
1
Successful response
Method result
Was this page helpful?