Skip to main content

platform.getStake RPC Method

Loading...

Updated on
Nov 02, 2023

platform.getStake RPC Method

Parameters

addresses
string
Loading...
validatorOnly
boolean
Loading...

Returns

staked
string
Loading...
stakedOutputs
[]string
Loading...
encoding
string
Loading...
Request
1
curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc": "2.0",
5
"id": 1,
6
"method": "platform.getStake",
7
"params": {
8
"addresses": [
9
"P-avax1tnuesf6cqwnjw7fxjyk7lhch0vhf0v95wj5jvy"
10
]
11
}
12
}'
1
curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc": "2.0",
5
"id": 1,
6
"method": "platform.getStake",
7
"params": {
8
"addresses": [
9
"P-avax1tnuesf6cqwnjw7fxjyk7lhch0vhf0v95wj5jvy"
10
]
11
}
12
}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free