platform.getPendingValidators RPC Method
Parameters
subnetID
The subnet whose current validators are returned. If omitted, returns the current validators ofthe Primary Network.
nodeIDs
[]string
a list of the nodeIDs of pending validators to request. If omitted, all pending validators are returned. Ifa specified nodeID is not in the set of pending validators, it will not be included in the response.
Returns
validators
object
Request
1curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ext/bc/P \2--header 'Content-Type: application/json' \3--data-raw '{4"jsonrpc": "2.0",5"method": "platform.getPendingValidators",6"params": {7"subnetID": null,8"nodeIDs": []9},10"id": 111}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free