Alchemy Logo

platform.getAllValidatorsAt

POST

Get the validators and their weights of all Subnets and the Primary Network at a given P-Chain height.

Request

heightintegeroptional

The P-Chain height.

Responses

200

validatorSets is an object keyed by subnet ID; each value has validators array and totalWeight.

Was this page helpful?