Alchemy Logo

platform.getValidatorsAt

POST

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

Request

heightintegeroptional

The P-Chain height.

subnetIDstringoptional

The subnet ID. If omitted, uses the Primary Network.

Responses

200

validators is an object mapping nodeID to weight.

Was this page helpful?