Skip to main content

platform.getValidatorsAt RPC Method

Loading...

Updated on
Nov 02, 2023

platform.getValidatorsAt RPC Method

Parameters

height
int
Loading...
subnetID
string
Loading...

Returns

validators
object
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.getValidatorsAt",
7
"params": [
8
{
9
"height": 1,
10
"subnetID": "11111111111111111111111111111111LpoYY"
11
}
12
]
13
}'
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.getValidatorsAt",
7
"params": [
8
{
9
"height": 1,
10
"subnetID": "11111111111111111111111111111111LpoYY"
11
}
12
]
13
}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free