get https://cosmos-mainnet-archive.allthatnode.com:1317/cosmos/base/tendermint/v1beta1/validatorsets/
Queries validator-set at a given height.
Parameters
Path
height
:STRING
- The block height at which to query.
Query
pagination.key
:STRING
- (base64) (optional) key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.pagination.offset
:INTEGER
- (optional) offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.pagination.limit
:STRING
- (optional) limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.pagination.count_total
:BOOLEAN
- (optional) count_total is set totrue
to indicate that the result set should include a count of the total number of items available for pagination in UIs.count_total
is only respected when offset is used. It is ignored when key
is set.pagination.reverse
:BOOLEAN
- (optional) reverse is set to true if results are to be returned in the descending order.
curl "https://cosmos-mainnet-archive.allthatnode.com:1317/cosmos/base/tendermint/v1beta1/validatorsets/16442569?pagination.offset=1&pagination.limit=5&pagination.count_total=false" \
-H 'x-allthatnode-api-key: biCbK1Dx2NJFDQ6jRKnXVCn0jgcGg3kp'
Returns
OBJECT
- The validator set at the latest block height
{
"block_height": "16442569",
"validators": [
{
"address": "cosmosvalcons1668wcrfwsfy0rmryek6ctmdkrm9yx27c7grulf",
"pub_key": {
"@type": "/cosmos.crypto.ed25519.PubKey",
"key": "LtiHVLCcE+oFII0vpIl9mfkGDmk9BpPg1eUkvKnO4xw="
},
"voting_power": "22129178",
"proposer_priority": "-39178225"
},
{
"address": "cosmosvalcons16t2937fqnm9ceg42k8veupnprwqj4puhwm6yyv",
"pub_key": {
"@type": "/cosmos.crypto.ed25519.PubKey",
"key": "hUDXospsiB6oJVvkRVB2IyanCHs5hiaeqoEWzp9be8w="
},
"voting_power": "15934145",
"proposer_priority": "-103354180"
},
{
"address": "cosmosvalcons1yxv746y5egu3l2p0q8pvv99lavgr6ptvdhx306",
"pub_key": {
"@type": "/cosmos.crypto.ed25519.PubKey",
"key": "C+VWc34ZF6n/QoIAXo4191OwKxQWpbFnrGKCqcNbe1E="
},
"voting_power": "10578156",
"proposer_priority": "-102115254"
},
{
"address": "cosmosvalcons1a4gfu7qf0cfsd2glah5wskm46p4amahrjvtw2p",
"pub_key": {
"@type": "/cosmos.crypto.ed25519.PubKey",
"key": "Lbk6LJSg/x/Paa6Wk15P12B7+EE2G35Lem+edKZ6siE="
},
"voting_power": "9493491",
"proposer_priority": "39157189"
},
{
"address": "cosmosvalcons1rnknqueazcju3x4knpnhvpksudanva4f08558z",
"pub_key": {
"@type": "/cosmos.crypto.ed25519.PubKey",
"key": "dhhD3I5QbtC870Il4IzML5Q2AwVDiSn9/HJ9w09Rgdg="
},
"voting_power": "9445538",
"proposer_priority": "21276983"
}
],
"pagination": {
"next_key": null,
"total": "180"
}
}
Response headers