_getHistoricalInfoByHeight

Queries the historical info for given height.

Parameters

Path

  • height: INTEGER - At which height to query the historical info.
curl https://cosmos-mainnet-archive.allthatnode.com:1317/cosmos/staking/v1beta1/historical_info/16397816 \
-H 'x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj'

Returns

  • OBJECT - The historical informations at a certain height.
{
  "hist": {
    "header": {
      "version": {
        "block": "11",
        "app": "0"
      },
      "chain_id": "cosmoshub-4",
      "height": "16397816",
      "time": "2023-08-02T11:52:28.153263724Z",
      "last_block_id": {
        "hash": "+Teo46nKYh0dfY6FXf0I4/oaJmUjXF7evByEc+/4Q6U=",
        "part_set_header": {
          "total": 1,
          "hash": "LZZnWRDb9hnIjk3cR0od0HkH1oXGr+3jW6CEU6EqjuU="
        }
      },
      "last_commit_hash": "nvgC/PMZFqZPE9uCbeodTuH0MLcsfbVwSz0rhcQDsqQ=",
      "data_hash": "XcD64nmC1Vviyx/xlcgTHtIrfV8U2cON8wh31omYPac=",
      "validators_hash": "/rI/uedujhIENS6dQyKstajsEB2KAp4kN3rRxQn09Wc=",
      "next_validators_hash": "/rI/uedujhIENS6dQyKstajsEB2KAp4kN3rRxQn09Wc=",
      "consensus_hash": "gDZJZbfCzJ3pYcCZi0en+T8ZcAd+uILg7Rw4IkCIiMc=",
      "app_hash": "gnIGZG1wS3oEkpsc8Pui+2dJuOu8yCtDnhFl5F0PaEY=",
      "last_results_hash": "+JYHP9Ki8jLyl5hyGObJgWndlmWSG/bmFuwjO/vUhzc=",
      "evidence_hash": "47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=",
      "proposer_address": "JURdDrNT6QUKsR7GGX1dy2EZhts="
    },
    "valset": [
      {
        "operator_address": "cosmosvaloper1c4k24jzduc365kywrsvf5ujz4ya6mwympnc4en",
        "consensus_pubkey": {
          "@type": "/cosmos.crypto.ed25519.PubKey",
          "key": "LtiHVLCcE+oFII0vpIl9mfkGDmk9BpPg1eUkvKnO4xw="
        },
        "jailed": false,
        "status": "BOND_STATUS_BONDED",
        "tokens": "21915469200275",
        "delegator_shares": "21915469200275.000000000000000000",
        "description": {
          "moniker": "Coinbase Custody",
          "identity": "AECA8EAB3D0AFAD1",
          "website": "custody.coinbase.com",
          "security_contact": "[email protected]",
          "details": "Coinbase Custody Cosmos Validator"
        },
        "unbonding_height": "0",
        "unbonding_time": "1970-01-01T00:00:00Z",
        "commission": {
          "commission_rates": {
            "rate": "0.200000000000000000",
            "max_rate": "1.000000000000000000",
            "max_change_rate": "1.000000000000000000"
          },
          "update_time": "2022-06-30T17:14:03.668558534Z"
        },
        "min_self_delegation": "1",
        "unbonding_on_hold_ref_count": "0",
        "unbonding_ids": []
      },
      {
        "operator_address": "cosmosvaloper196ax4vc0lwpxndu9dyhvca7jhxp70rmcvrj90c",
        "consensus_pubkey": {
          "@type": "/cosmos.crypto.ed25519.PubKey",
          "key": "hUDXospsiB6oJVvkRVB2IyanCHs5hiaeqoEWzp9be8w="
        },
        "jailed": false,
        "status": "BOND_STATUS_BONDED",
        "tokens": "15877173628687",
        "delegator_shares": "15877173628687.000000000000000000",
        "description": {
          "moniker": "SG-1",
          "identity": "48608633F99D1B60",
          "website": "https://sg-1.online",
          "security_contact": "",
          "details": "SG-1 - Your favorite team on Cosmos."
        },
        "unbonding_height": "0",
        "unbonding_time": "1970-01-01T00:00:00Z",
        "commission": {
          "commission_rates": {
            "rate": "0.019000000000000000",
            "max_rate": "0.200000000000000000",
            "max_change_rate": "0.020000000000000000"
          },
          "update_time": "2022-10-05T22:54:18.891787374Z"
        },
        "min_self_delegation": "1000",
        "unbonding_on_hold_ref_count": "0",
        "unbonding_ids": []
      },
      {
        "operator_address": "cosmosvaloper12w6tynmjzq4l8zdla3v4x0jt8lt4rcz5gk7zg2",
        "consensus_pubkey": {
          "@type": "/cosmos.crypto.ed25519.PubKey",
          "key": "5zFLeygxybzLuxq9iMEO0sl9rfkD+2qBifsuY1NTZIU="
        },
        "jailed": false,
        "status": "BOND_STATUS_BONDED",
        "tokens": "51988596111",
        "delegator_shares": "51993795358.421030237868683917",
        "description": {
          "moniker": "Huobi-1",
          "identity": "CF01514DBF6583FE",
          "website": "https://www.huobi.com/",
          "security_contact": "",
          "details": "As a world-leading company in the blockchain industry, Huobi Group was founded in 2013 with a mission to make breakthroughs in core blockchain technology and the integration of blockchain technology to other industries."
        },
        "unbonding_height": "16381504",
        "unbonding_time": "2023-08-22T07:57:50.210307288Z",
        "commission": {
          "commission_rates": {
            "rate": "0.080000000000000000",
            "max_rate": "0.200000000000000000",
            "max_change_rate": "0.010000000000000000"
          },
          "update_time": "2022-12-09T09:19:28.587528497Z"
        },
        "min_self_delegation": "1",
        "unbonding_on_hold_ref_count": "1",
        "unbonding_ids": [
          "51347",
          "72035",
          "105770"
        ]
      }
    ]
  }
}

Try Yourself

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