/cosmos/base/tendermint/v1beta1/validatorsets/latest - Axelar

Returns the latest validator set via the Cosmos base service.

Endpoint

httpGET /cosmos/base/tendermint/v1beta1/validatorsets/latest

Example

bashexport AKASH_REST=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${AKASH_REST}cosmos/base/tendermint/v1beta1/validatorsets/latest"

Response

json{
    "block_height": "19500000",
    "validators": [
        {
            "address": "axelarvalcons1...",
            "voting_power": "5000000"
        }
    ],
    "pagination": {
        "total": "100"
    }
}

Response Fields

FieldTypeDescription
validatorsarrayConsensus validators with voting power
block_heightstringHeight of the set

Use Cases

  • Consensus: Read the validator set over REST

Error Handling

ErrorMessageDescription
400 / Bad requestBad requestA parameter was invalid
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect