Parameters
height
integer
REQUIRED
The P-Chain height to query validator information at.
Returns
validatorSets
object
An object mapping subnet IDs to their validator sets. Each validator set contains an array of validators and the total weight.
<subnetID>
object
Validator set for the subnet ID key.
validators
array
Array of validator objects for the subnet.
publicKey
string
The validator's BLS public key as a hex string.
weight
string
The validator's weight as a string.
nodeIDs
array
Array of NodeIDs associated with this validator.
totalWeight
string
The total weight of all validators in this subnet.
Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free