_getBlockByHeight

Get a block info at a certain height

Parameters

  • height: NUMBER - Block height
curl https://cosmos-mainnet-archive.allthatnode.com:1317/blocks/16266546 \
--header "x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj"

Returns

  • OBJECT - The block information
{
  "block_id": {
    "hash": "BE0194C9B53ADEF434F290BD4F9A053326C710806CFDD36C2462893FCBE6A77F",
    "parts": {
      "total": 1,
      "hash": "07985935C3E660498A0C1AE5F8DCCAE86A7AC91A10CCB2CF2C706418DEC1A14F"
    }
  },
  "block": {
    "header": {
      "version": {
        "block": "11"
      },
      "chain_id": "cosmoshub-4",
      "height": "16266546",
      "time": "2023-07-24T03:59:02.510341534Z",
      "last_block_id": {
        "hash": "CF15B1CC2A6FA3D691F4D7344E1FEB370EDE61196882F41ECCC8460DB6E51BCF",
        "parts": {
          "total": 1,
          "hash": "03C0D42648A106BAE6E2B8659F59B884EA8ACB49F3FC0BBB799F03E4C1E89B90"
        }
      },
      "last_commit_hash": "DFB79EE82EBC1EE568913DAFC4B34B8C6CCF4E8DCB5FB2513501EE89EE96EE0B",
      "data_hash": "334DF36FEE5C0FC6B82C2811CD38E7F5E77694951820A8D4F41C2BC7016DC1A1",
      "validators_hash": "864802CA399122BC75E89B3750B7F8888B17321415969CDCF9AAEA498E224C75",
      "next_validators_hash": "864802CA399122BC75E89B3750B7F8888B17321415969CDCF9AAEA498E224C75",
      "consensus_hash": "80364965B7C2CC9DE961C0998B47A7F93F1970077EB882E0ED1C3822408888C7",
      "app_hash": "54D5AD6E6FC716E144338F281ACC23746442E638D8309137A624905B4D1253FA",
      "last_results_hash": "BBE1C3158DD5A8110A97BAEF7B08EBB3E3B0E08A5BFBB1B042CA092BD5CEB547",
      "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
      "proposer_address": "E83BFC436D2CE8DCC9EC0589B2E5B735E37FB85C"
    },
    "data": {
      "txs": [
        "Cr8BCrwBCikvaWJjLmFwcGxpY2F0aW9ucy50cmFuc2Zlci52MS5Nc2dUcmFuc2ZlchKOAQoIdHJhbnNmZXISC2NoYW5uZWwtMzkxGg0KBXVhdG9tEgQxMDAwIi1jb3Ntb3MxcmYzd2U1ZmwzNXpjZ3J5dnE1dXd2ZWw5dmx5NHhyMGZhdW04eXgqLXN0cmlkZTFyZjN3ZTVmbDM1emNncnl2cTV1d3ZlbDl2bHk0eHIwZjdobW1zMjiA0smX9L6suhcSZwpQCkYKHy9jb3Ntb3MuY3J5cHRvLnNlY3AyNTZrMS5QdWJLZXkSIwohAi1c13yDQpNcDAQwbtpzgxopOpg27ogzJCqSdrhppWsBEgQKAggBGEoSEwoNCgV1YXRvbRIENjI1MBCQoQ8aQBq5MDMSpc5/nBsmhSKjmEf5G9o7844h3TibPo1x09L1RCyZEOQCI9B01aFIXR2gJ35SziHqEQ2qUtW1l8Q19vs=",
        "CrkBCp8BCiMvY29zbW9zLnN0YWtpbmcudjFiZXRhMS5Nc2dEZWxlZ2F0ZRJ4Ci1jb3Ntb3MxbnprdDlxMDZodnQ4czNuYTg4bXB3dTB1amo1OHI1dWd1dHlqM3ASNGNvc21vc3ZhbG9wZXIxdGZsazMwbXE1dmdxamRseTkya2toaHEzcmFldjJobno2ZWV0ZTMaEQoFdWF0b20SCDI1OTE4NjY5EhVEZWxlZ2F0ZWQgd2l0aCBFeG9kdXMSZwpQCkYKHy9jb3Ntb3MuY3J5cHRvLnNlY3AyNTZrMS5QdWJLZXkSIwohAgGedT6s6lrtPIlL+BfkmPY/7QeBpIwW9PpxZM4HbUsEEgQKAggBGE4SEwoNCgV1YXRvbRIENzAwMBDAixEaQEgIIv/Lp4WgtvzvfghQ6zf8WCuBcnTogZ8NzVs/1kjPbUI2Pl5qeXcQ7R7jaUbufqf3lbPl7UFjRbvcnkyh5sY="
      ]
    },
    "evidence": {
      "evidence": []
    },
    "last_commit": {
      "height": "16266545",
      "round": 0,
      "block_id": {
        "hash": "CF15B1CC2A6FA3D691F4D7344E1FEB370EDE61196882F41ECCC8460DB6E51BCF",
        "parts": {
          "total": 1,
          "hash": "03C0D42648A106BAE6E2B8659F59B884EA8ACB49F3FC0BBB799F03E4C1E89B90"
        }
      },
      "signatures": [
        {
          "block_id_flag": 2,
          "validator_address": "D68EEC0D2E8248F1EC64CDB585EDB61ECA432BD8",
          "timestamp": "2023-07-24T03:59:02.510341534Z",
          "signature": "uG2FQ2Wp2S/DEYdXvtENmj8MG+RZOXGYdUczLWtFN/OXIGBJj8n2ox2d/nugv2ZTJjMihuFeDMz0dgLSSsvBDg=="
        },
        {
          "block_id_flag": 2,
          "validator_address": "D2D458F9209ECB8CA2AAB1D99E06611B812A8797",
          "timestamp": "2023-07-24T03:59:02.508734147Z",
          "signature": "h/rprFAbB6RTkXEbqctkBSX8DQhkI1z4DzAktcWCaknH5BIhqEeJ/4V5Ilw6t9lpTqDIFsFDuo1StsARJUrZBQ=="
        },
        {
          "block_id_flag": 2,
          "validator_address": "2199EAE894CA391FA82F01C2C614BFEB103D056C",
          "timestamp": "2023-07-24T03:59:02.494988757Z",
          "signature": "pE6HXJG0B9dak3g3s7IekygyBBVVUpsNsCTvVh8s1Ge4iYfmHgXMJkwdMopROo20zfC1HE64soCHLjP2UTzrAw=="
        },
        {
          "block_id_flag": 2,
          "validator_address": "ED509E78097E1306A91FEDE8E85B75D06BDDF6E3",
          "timestamp": "2023-07-24T03:59:02.486577289Z",
          "signature": "M3ELLBoOFIiDMdH6akP4bskjAbYAmctSrHYHBlTWtOSKPUew9RJyMwLnlrBNs5pawY1XF3jA3hQq/8HM4ykqCg=="
        },
        {
          "block_id_flag": 2,
          "validator_address": "1CED30733D1625C89AB698677606D0E37B3676A9",
          "timestamp": "2023-07-24T03:59:02.509284987Z",
          "signature": "kBC+EpPqTCU9osVY+crLjnQQrq4nHVVLQ5hW2aY4PmkeRpbtWVu5/n2OEz2gDbfE0sRnC+HvrIgtKPEguRDqCg=="
        },
        {
          "block_id_flag": 2,
          "validator_address": "EB1DF22507B79CE700F86C4C8B13D7DF01DFDA9C",
          "timestamp": "2023-07-24T03:59:02.501148503Z",
          "signature": "+KtKW1C6FIzoZ3bKmYgYK1bbuPagiH0auYzEeXkWyxJw7rRxbSaYE5e85YF8rYrVVFidQrwNX5RtaNP3/0osAA=="
        }
      ]
    }
  }
}

Try Yourself

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