Skip to content
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

integeroptional

The P-Chain height.

stringoptional

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

Responses

200

validators is an object mapping nodeID to weight.

Was this page helpful?