_getValidatorsByStatus

Queries the pool info.

Parameters

Path

  • No parameters are needed for path.

Query

  • status: STRING
    • BOND_STATUS_UNSPECIFIED: UNSPECIFIED defines an invalid validator status.
    • BOND_STATUS_UNBONDED: UNBONDED defines a validator that is not bonded.
    • BOND_STATUS_UNBONDING: UNBONDING defines a validator that is unbonding.
    • BOND_STATUS_BONDED: BONDED defines a validator that is bonded.
  • pagination.key: STRING - (base64) (optional) key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
  • pagination.offset: INTEGER - (optional) offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
  • pagination.limit: STRING - (optional) limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
  • pagination.count_total: BOOLEAN - (optional) count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key
    is set.
  • pagination.reverse: BOOLEAN - (optional) reverse is set to true if results are to be returned in the descending order.
curl "https://cosmos-mainnet-rpc.allthatnode.com:1317/cosmos/staking/v1beta1/validators?status=BOND_STATUS_UNBONDED&pagination.offset=1&pagination.limit=10&pagination.count_total=true&pagination.reverse=false" \
-H 'x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj'

Returns

  • OBJECT - Validators information.
{
  "validators": [
    {
      "operator_address": "cosmosvaloper1q9p73lx07tjqc34vs8jrsu5pg3q4ha534uqv4w",
      "consensus_pubkey": {
        "@type": "/cosmos.crypto.ed25519.PubKey",
        "key": "Y3FwPLeVHUhR+Or59OJ1SCq0OiS/tBye2YdKA3dzy/s="
      },
      "jailed": false,
      "status": "BOND_STATUS_UNBONDED",
      "tokens": "55688458",
      "delegator_shares": "55688458.000000000000000000",
      "description": {
        "moniker": "Unstake as we will shut down",
        "identity": "C58922A0F158B2D1",
        "website": "https://www.3stakes.com",
        "security_contact": "[email protected]",
        "details": "3Stakes.com is a Dutch team validating in the Ecosystem. Our operations will be CO2 neutral as we will offset any emissions created from our operations. We will be looking to create validators for new chains in the Cosmos ecosystem and participate in testnets."
      },
      "unbonding_height": "10150222",
      "unbonding_time": "2022-05-08T10:37:31.108207984Z",
      "commission": {
        "commission_rates": {
          "rate": "0.050000000000000000",
          "max_rate": "0.100000000000000000",
          "max_change_rate": "0.010000000000000000"
        },
        "update_time": "2022-04-15T08:52:23.793881126Z"
      },
      "min_self_delegation": "1",
      "unbonding_on_hold_ref_count": "0",
      "unbonding_ids": []
    },
    {
      "operator_address": "cosmosvaloper1qgju44qz5e2y2v9azkqfs8n7d97lg97008qgjz",
      "consensus_pubkey": {
        "@type": "/cosmos.crypto.ed25519.PubKey",
        "key": "giyspSi9QoGIGXeNKniALJcvMDq9333BwRJSFvOCaP0="
      },
      "jailed": false,
      "status": "BOND_STATUS_UNBONDED",
      "tokens": "1000000",
      "delegator_shares": "1000000.000000000000000000",
      "description": {
        "moniker": "nysa.network",
        "identity": "F7E5A47BC1D9F95B",
        "website": "https://nysa.network",
        "security_contact": "[email protected]",
        "details": "Safe and secure interchain validator"
      },
      "unbonding_height": "0",
      "unbonding_time": "1970-01-01T00:00:00Z",
      "commission": {
        "commission_rates": {
          "rate": "0.050000000000000000",
          "max_rate": "0.200000000000000000",
          "max_change_rate": "0.050000000000000000"
        },
        "update_time": "2022-10-28T16:48:33.762859295Z"
      },
      "min_self_delegation": "1",
      "unbonding_on_hold_ref_count": "0",
      "unbonding_ids": []
    },
    {
      "operator_address": "cosmosvaloper1prvhg36trh0y7dajrlny6h9qhp0cpwh0nl3p7k",
      "consensus_pubkey": {
        "@type": "/cosmos.crypto.ed25519.PubKey",
        "key": "rOCY9l/86nyr95IlB7tPvRwnPhkDoxGTJXpvuDIbxzk="
      },
      "jailed": true,
      "status": "BOND_STATUS_UNBONDED",
      "tokens": "1009900",
      "delegator_shares": "1010001.000100010001000100",
      "description": {
        "moniker": "liwei",
        "identity": "5A9E54BA22055990",
        "website": "",
        "security_contact": "",
        "details": ""
      },
      "unbonding_height": "5240671",
      "unbonding_time": "2021-03-14T20:24:31.738746239Z",
      "commission": {
        "commission_rates": {
          "rate": "0.100000000000000000",
          "max_rate": "0.200000000000000000",
          "max_change_rate": "0.010000000000000000"
        },
        "update_time": "2020-12-14T03:07:24.987475258Z"
      },
      "min_self_delegation": "1",
      "unbonding_on_hold_ref_count": "0",
      "unbonding_ids": []
    }
  ],
  "pagination": {
    "next_key": "FAmhuQuzrw8Y/pDygi7v/B4RZSKb",
    "total": "303"
  }
}

Try Yourself

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