Skip to content
Alchemy Logo

platform.getAllValidatorsAt

POST
/{apiKey}

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

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

integeroptional

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?