_getLatestValidatorsets

Get the latest validator set

Parameters

  • No parameters are needed.
curl https://cosmos-mainnet-archive.allthatnode.com:1317/validatorsets/latest \
--header "x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj"

Returns

  • OBJECT - The validator set at the latest block height
{
  "height": "0",
  "result": {
    "block_height": "16384554",
    "validators": [
      {
        "address": "cosmosvalcons1668wcrfwsfy0rmryek6ctmdkrm9yx27c7grulf",
        "pub_key": {
          "type": "tendermint/PubKeyEd25519",
          "value": "LtiHVLCcE+oFII0vpIl9mfkGDmk9BpPg1eUkvKnO4xw="
        },
        "proposer_priority": "-11124500",
        "voting_power": "21826179"
      },
      {
        "address": "cosmosvalcons16t2937fqnm9ceg42k8veupnprwqj4puhwm6yyv",
        "pub_key": {
          "type": "tendermint/PubKeyEd25519",
          "value": "hUDXospsiB6oJVvkRVB2IyanCHs5hiaeqoEWzp9be8w="
        },
        "proposer_priority": "-55623647",
        "voting_power": "15865561"
      },
      {
        "address": "cosmosvalcons1yxv746y5egu3l2p0q8pvv99lavgr6ptvdhx306",
        "pub_key": {
          "type": "tendermint/PubKeyEd25519",
          "value": "C+VWc34ZF6n/QoIAXo4191OwKxQWpbFnrGKCqcNbe1E="
        },
        "proposer_priority": "-101733837",
        "voting_power": "10577543"
      },
      //more validators
      {
        "address": "cosmosvalcons1z0hr7p0jp34d3lf8e0hn8htp6hueanm0r04wd0",
        "pub_key": {
          "type": "tendermint/PubKeyEd25519",
          "value": "P5bVXtQROUYluem7UhCW4Xg/SvFijRlSmq6daONPk7M="
        },
        "proposer_priority": "-117676355",
        "voting_power": "369992"
      }
    ],
    "total": "180"
  }
}

Try Yourself

Language
Click Try It! to start a request and see the response here!