Latest

GetLatestValidatorSet queries latest validator-set.

GEThttps://atom.nownodes.io/cosmos/base/tendermint/v1beta1/validatorsets/latest
Query parameters
Response

A successful response.

Body
block_heightstring (int64)
validatorsarray of object
paginationobject

pagination defines an pagination for the response.

Request
const response = await fetch('https://atom.nownodes.io/cosmos/base/tendermint/v1beta1/validatorsets/latest', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "block_height": "text",
  "validators": [
    {
      "address": "text",
      "pub_key": {
        "type_url": "text",
        "value": "Ynl0ZXM="
      },
      "voting_power": "text",
      "proposer_priority": "text"
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}

Last updated