Parameters
height
integer
The numerical value representing the P-Chain height to get the validator set at.
subnetID
string
The subnet ID to get the validator set of. If not given, gets validator set of the Primary Network.
Returns
validators
object
A mapping of Node IDs to their validator information and weights.
<nodeID>
object
Validator information keyed by Node ID.
publicKey
string
The validator's BLS public key as a hex string.
weight
string
The validator's weight as a string.
Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free