v1

latestOpenAPI 3.0.0Apache 2.02026-07-17304991.5 KB
Info

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.

get/validators

Query parameters

heightinteger

height to return. If no height is provided, it will fetch validator set which corresponds to the latest block.

pageinteger

Page number (1-based)

per_pageinteger

Number of entries per page (max: 100)

Response

Commit results.

jsonrpcstring required
idinteger required

Example response

{
  "jsonrpc": "2.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"
  }
}