Platform
platform.getValidatorsAt
Get the validators and their weights of a Subnet or the Primary Network at a given P-Chain height.
POST
Parameters
Unique identifier for a blockchain network.
Request identifier used to match responses.
JSON-RPC version.
JSON-RPC method name.
Parameters for
platform.getValidatorsAt:params.height: The P-Chain block height to query validator set for.params.subnetID: Subnet ID to query validator set for. If omitted, queries the Primary Network.
Returns
The JSON-RPC result.