/cosmos/staking/v1beta1/validators - TAC

Returns all staking validators, optionally filtered by status, paginated.

Endpoint

httpGET /cosmos/staking/v1beta1/validators

Query Parameters

ParameterTypeDescription
statusstringFilter by status, e.g. BOND_STATUS_BONDED
pagination.limitstringMax results per page

Example

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

curl "${TAC_REST}cosmos/staking/v1beta1/validators"

Response

json{
    "validators": [
        {
            "operator_address": "tacvaloper1ql8dru5dgm6gtg3hcdq9lds3q3fnk3s6xhj2p7",
            "status": "BOND_STATUS_BONDED",
            "tokens": "5000000000000000000000",
            "description": {
                "moniker": "tac-validator"
            },
            "commission": {
                "commission_rates": {
                    "rate": "0.050000000000000000"
                }
            }
        }
    ],
    "pagination": {
        "total": "100"
    }
}

Response Fields

FieldTypeDescription
validatorsarrayValidators with operator address, status, bonded tokens, and commission
validators[].operator_addressstringValidator operator address (tacvaloper1...)
validators[].tokensstringTotal bonded tokens in the base denomination

Use Cases

  • Validator list: Build a staking UI
  • Delegation: Rank validators by stake or commission

Error Handling

ErrorMessageDescription
400 / Bad requestBad requestA path, query, or body parameter was invalid
404 / Not foundNot foundThe account, validator, proposal, or resource does not exist
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect