platform.getCurrentValidators RPC Method
Parameters
subnetID
string
The subnet whose current validators are returned. If omitted, returns the current validators of the Primary Network
nodeIDs
string
A list of the nodeIDs of pending validators to request. If omitted, all pending validators are returned. If a specified nodeID is not in the set of pending validators, it will not be included in the response
Returns
validators
An array of objects with the following fields:
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free