_getLatestBlock

Get the latest block

Parameters

  • No parameters are needed.
curl https://cosmos-mainnet-archive.allthatnode.com:1317/blocks/latest \
--header "x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj"

Returns

  • OBJECT - The latest block information
{
  "block_id": {
    "hash": "39880CAA9A998FC0A1F9FF1010687B19488DAE3FE34E21CDD5408D5F33BBFE54",
    "parts": {
      "total": 1,
      "hash": "E218AAE143543137635170FA3322B574D81C13B3DFEC4F98F3AB670778409FB6"
    }
  },
  "block": {
    "header": {
      "version": {
        "block": "11"
      },
      "chain_id": "cosmoshub-4",
      "height": "16384330",
      "time": "2023-08-01T12:46:21.420087856Z",
      "last_block_id": {
        "hash": "3D909EF4A31FF34CC921406ACE93601445E668B82FCE74F4B82179E60282190F",
        "parts": {
          "total": 1,
          "hash": "9ED8DF29867EDF196860FF04729F08D4B5A15FF74D26C9EA8E3ADFC987094698"
        }
      },
      "last_commit_hash": "8BB601496A40B7C15EE246B1F63D9FB17079887EAA649A6F4B3C358400AF7635",
      "data_hash": "A968AF735EFA7C4DF661F033A44EAA6FF1A85C76F7EE6C3D821ED4F7F8C8DEE9",
      "validators_hash": "D7D74AAEE056916883B3E127872D568EF65B10734B3CA9B8C7AF6EDE56F774E9",
      "next_validators_hash": "D7D74AAEE056916883B3E127872D568EF65B10734B3CA9B8C7AF6EDE56F774E9",
      "consensus_hash": "80364965B7C2CC9DE961C0998B47A7F93F1970077EB882E0ED1C3822408888C7",
      "app_hash": "DAE63605073C9D373B64DE76986AAC71D632DBBB5605269DE9528D0E25015991",
      "last_results_hash": "38B71E379EDAD6DBC151DE6D24E4B91B51E8E55CEA2C2BD2E090B2DF738BA728",
      "evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
      "proposer_address": "ED509E78097E1306A91FEDE8E85B75D06BDDF6E3"
    },
    "data": {
      "txs": [
        "CqQBCqEBCiUvY29zbW9zLnN0YWtpbmcudjFiZXRhMS5Nc2dVbmRlbGVnYXRlEngKLWNvc21vczF3dnh2aDV5MzNhNTM4cnpjbGpuNXN4bTc0dTNxZzd4c3h1bjJuZRI0Y29zbW9zdmFsb3BlcjFjbHBxcjRucms0a2hna3hqNzhmY3d3aDZkbDN1dzRlcHNsdWZmbhoRCgV1YXRvbRIINDM5NTQ0MzMSZwpQCkYKHy9jb3Ntb3MuY3J5cHRvLnNlY3AyNTZrMS5QdWJLZXkSIwohApsEry7pbwe9RmBcRiu9Lp9QWia9Zg5TNOvUznmYDFr2EgQKAgh/GGwSEwoNCgV1YXRvbRIEOTQ0MRCMhhcaQEnE/tOAYjp9JITdMtbJ5zOn+HwgG+DF6662845OdcLNdlWloVDss5XAZRpi5Hu7RJR3uS4b6d+lL7fY+v9ELGU=",
        "CpUBCpIBChwvY29zbW9zLmJhbmsudjFiZXRhMS5Nc2dTZW5kEnIKLWNvc21vczFsMHpuc3ZkZGxsdzlrbmhhM3l4MnN2bmx4bnk2NzZkOG5zN3V5cxItY29zbW9zMWxsZzU1bmNzeXF4cXFwMGQyaHZhcGs0ZjIzcnJjcWU0ZGRoOXl5GhIKBXVhdG9tEgk1NjY0ODUyNzMSaQpSCkYKHy9jb3Ntb3MuY3J5cHRvLnNlY3AyNTZrMS5QdWJLZXkSIwohAl/TF8x0i4q0XBAI7su4exzZ6T45J/1jdVVDsabmUJdREgQKAggBGMq6HRITCg0KBXVhdG9tEgQzMDAwEOCnEhpANU3V3UZCCyTaBCMf8PFw2ghIM3QE1tTAZARasiZL0JM5tN2T+hK9zZlfJfmqqj6gyWAKefOA/6Zwx21oU4vNOA=="
      ]
    },
    "evidence": {
      "evidence": []
    },
    "last_commit": {
      "height": "16384329",
      "round": 0,
      "block_id": {
        "hash": "3D909EF4A31FF34CC921406ACE93601445E668B82FCE74F4B82179E60282190F",
        "parts": {
          "total": 1,
          "hash": "9ED8DF29867EDF196860FF04729F08D4B5A15FF74D26C9EA8E3ADFC987094698"
        }
      },
      "signatures": [
        {
          "block_id_flag": 2,
          "validator_address": "D68EEC0D2E8248F1EC64CDB585EDB61ECA432BD8",
          "timestamp": "2023-08-01T12:46:21.420467852Z",
          "signature": "MauBMOJn8M2J7w+1IwZfyTbLcxE4IvPk9A3jBBLLocK1vhxaGXPp0zULWnvaLZyokPs8x0hTTZeulxdZFwKlBw=="
        },
        {
          "block_id_flag": 2,
          "validator_address": "D2D458F9209ECB8CA2AAB1D99E06611B812A8797",
          "timestamp": "2023-08-01T12:46:21.468130531Z",
          "signature": "MFeanFbiECRWh/TirDVpdjNatIsjqoh20Aepo4Dnj8aU5X7eAXGoxtfB0tc+tLkUI7dI+wVYtBvL1cCYyUr+Dg=="
        },
        {
          "block_id_flag": 2,
          "validator_address": "2199EAE894CA391FA82F01C2C614BFEB103D056C",
          "timestamp": "2023-08-01T12:46:21.388655856Z",
          "signature": "1VjwZQ//zaK3/e7mWpM0pMxMPOnz75MMqZXSMeawX5Rc1d6U5Pq+emPUSldeZ8cpSFDSLnFQzJpZvB+IcNgkAQ=="
        }
      ]
    }
  }
}

Try Yourself

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