Granite Upgrade Activates in09d:00h:01m:36s
Validators

platform.getValidatorsAt

GetValidatorsAt returns the weights of the validator set of a provided subnet at the specified height.

POST
/ext/bc/P#platform.getValidatorsAt

JSON-RPC request

jsonrpcstring
methodstring
params

Method parameters

idinteger

Response Body

application/json

application/json

curl -X POST "https://api.avax.network/ext/bc/P#platform.getValidatorsAt" \  -H "Content-Type: application/json" \  -d '{    "jsonrpc": "2.0",    "method": "platform.getValidatorsAt",    "params": {},    "id": 1  }'
{
  "jsonrpc": "2.0",
  "result": {
    "Validators": {}
  },
  "id": 1
}
{
  "jsonrpc": "2.0",
  "error": {
    "code": 0,
    "message": "string",
    "data": {}
  },
  "id": 1
}

Is this guide helpful?