platform.getValidatorsAt RPC Method
To use the platform.getValidatorsAt method on the P-Chain, ensure that the end of your URL includes ext/bc/P.
Parameters
height
integer
Loading...
subnetID
string
Loading...
Returns
result
object
Loading...
validators
object
Loading...
NodeID
string
Loading...
weight
integer
Loading...
Request
1curl -X POST "https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "platform.getValidatorsAt",6"params": {7"height": 1773310,8"subnetID": "11111111111111111111111111111111LpoYY"9},10"id": 111}'
1curl -X POST "https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "platform.getValidatorsAt",6"params": {7"height": 1773310,8"subnetID": "11111111111111111111111111111111LpoYY"9},10"id": 111}'
Response
1{2"jsonrpc": "2.0",3"result": {4"NodeID-2a7BPY7UeJv2njMuyUHfBSTeQCYZj6bwV": {5"publicKey": null,6"weight": "198092089900240970"7},8"NodeID-2hCHs6H4Vde8mdGGKidMvT4Fjit7goCBT": {9"publicKey": null,10"weight": "27491992221124000"11}12},13"id": 114}
1{2"jsonrpc": "2.0",3"result": {4"NodeID-2a7BPY7UeJv2njMuyUHfBSTeQCYZj6bwV": {5"publicKey": null,6"weight": "198092089900240970"7},8"NodeID-2hCHs6H4Vde8mdGGKidMvT4Fjit7goCBT": {9"publicKey": null,10"weight": "27491992221124000"11}12},13"id": 114}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free