Validators
Returns a list of all validators addresses and their corresponding status which can be either active or waiting. It will also return a list of active validators that will not be part of the next era for staking. They will be under the key "validatorsToBeChilled". It's important to note, that addresses can be present in both the "validators" key, and "validatorsToBeChilled".
Query parameters
atstring · unsignedInteger or $hexOptional
Block identifier, as the block height or block hash.
Responses
200
successful operation
application/json
400
invalid blockId supplied for at query param
application/json
get
GET /pallets/staking/validators HTTP/1.1
Host: dot-playbook.nownodes.io
Accept: */*
{
"at": {
"hash": "text",
"height": "text"
},
"validators": [
{
"address": "text",
"status": "text"
}
],
"validatorsToBeChilled": [
{
"address": "text",
"status": "text"
}
]
}