Comment on page
platform.getStake
Get the amount of nAVAX staked by a set of addresses. The amount returned does not include staking rewards.
platform.getStake({addresses: []string}) -> {staked: int}
Request
curl -X POST --data '{
"jsonrpc": "2.0",
"method": "platform.getStake",
"params": {
"addresses": [
"P-everest1g3ea9z5kmkzwnxp8vr8rpjh6lqw4r0ufec460d",
"P-everest12un03rm579fewele99c4v53qnmymwu46dv3s5v"
]
},
"id": 1
}
}' -H 'content-type:application/json;' https://ava-mainnet.blastapi.io/<project-id>/ext/P
Result
{
"jsonrpc": "2.0",
"result": {
"staked": "5000000"
},
"id": 1
}
Last modified 1yr ago