API Reference
Get validator set at a specified height
Get Validators. Validators are sorted by voting power.
If the height field is set to a non-default value, upon success, the
Cache-Control header will be set with the default maximum age.
Query Parameters
height?integer
height to return. If no height is provided, it will fetch validator set which corresponds to the latest block.
Default
0page?integer
Page number (1-based)
Default
1per_page?integer
Number of entries per page (max: 100)
Default
30Response Body
application/json
application/json
curl -X GET "https://mainnet-beta.rpc.hyperpaxeer.com/validators"{
"jsonrpc": "2.0",
"id": 0,
"result": {
"block_height": "55",
"validators": [
{
"address": "000001E443FD237E4B616E2FA69DF4EE3D49A94F",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "9tK9IT+FPdf2qm+5c2qaxi10sWP+3erWTKgftn2PaQM="
},
"voting_power": "239727",
"proposer_priority": "-11896414"
}
],
"count": "1",
"total": "25"
}
}{
"id": 0,
"jsonrpc": "2.0",
"error": "Description of failure"
}