_tendermint_GetBlockLatest

Returns the latest block.

Parameters

Path

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

Returns

  • OBJECT - The latest block information.
{
  "block_id": {
    "hash": "uEZw8Mxv4yB7ue/suOPSPRRR2urknzSeO67OWaaydE0=",
    "part_set_header": {
      "total": 3,
      "hash": "V6RphE4Ab4TAFnlg4C9OtTY8smU1jqYu78U+f3IyIfE="
    }
  },
  "block": {
    "header": {
      "version": {
        "block": "11",
        "app": "0"
      },
      "chain_id": "cosmoshub-4",
      "height": "16442322",
      "time": "2023-08-05T16:03:33.527800822Z",
      "last_block_id": {
        "hash": "M8VKOxzGrPTOK6uN3A3F90ztFSyO6R66aKzZNybrygU=",
        "part_set_header": {
          "total": 1,
          "hash": "NnS2m6s1ZMkA7nd7EKNINACd3Kga+IulbzogFB/zKAg="
        }
      },
      "last_commit_hash": "8OtlAsttdtwygiE/Y/TCalp789zFybdmJtWnd9EPyIk=",
      "data_hash": "Uee2Es/itF3xxDS3rmUbqvYh67ExvEhetKd4XXHnutQ=",
      "validators_hash": "Pdd+tw1LYUS5MupgExxKonRGddsjq8di4QxoM7YoZig=",
      "next_validators_hash": "Pdd+tw1LYUS5MupgExxKonRGddsjq8di4QxoM7YoZig=",
      "consensus_hash": "gDZJZbfCzJ3pYcCZi0en+T8ZcAd+uILg7Rw4IkCIiMc=",
      "app_hash": "gk7SXqKVSzAnAGwIT0BddtZhAZOZI626Kk7r/bJav6s=",
      "last_results_hash": "3fALnHIaq3Y7WZhcZXljxs3L/hQN+rF9CETgT2/UINo=",
      "evidence_hash": "47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=",
      "proposer_address": "CZ4rCVgzMa/eNeX6lmc9LKfeoxY="
    },
    "data": {
      "txs": [
        "CqABCp0BCiMvY29zbW9zLnN0YWtpbmcudjFiZXRhMS5Nc2dEZWxlZ2F0ZRJ2Ci1jb3Ntb3MxbmtoMmdoNmc0cTd3cTB5ZzB2dGxlcHUzOWQ5cnR5djBqM2E4dWUSNGNvc21vc3ZhbG9wZXIxcWFhOXplajlhMGdlM3VncHgzcHh5eDYwMmx4aDN6dHFnZm5wNDIaDwoFdWF0b20SBjkxNDAwMBJmClEKRgofL2Nvc21vcy5jcnlwdG8uc2VjcDI1NmsxLlB1YktleRIjCiECyV0STKT6lRZ5oMW4pVI5IyGtOxe9u5DRO3KZYwE7T6QSBAoCCAEYiAkSEQoLCgV1YXRvbRICODYQ6OUUGkBaty83iFflKXJ7W4l7rmwT+cYFJ72mJOfQZLYtS8ZuJVLnwo2ewyrKUJEnI+6ZSDoc+x8xfKslQWLR8kSqCRjK",//...
      ]
    },"evidence": {
      "evidence": []
    },
    "last_commit": {
      "height": "16442321",
      "round": 0,
      "block_id": {
        "hash": "M8VKOxzGrPTOK6uN3A3F90ztFSyO6R66aKzZNybrygU=",
        "part_set_header": {
          "total": 1,
          "hash": "NnS2m6s1ZMkA7nd7EKNINACd3Kga+IulbzogFB/zKAg="
        }
      },
      "signatures": [
        {
          "block_id_flag": "BLOCK_ID_FLAG_COMMIT",
          "validator_address": "1o7sDS6CSPHsZM21he22HspDK9g=",
          "timestamp": "2023-08-05T16:03:33.498131797Z",
          "signature": "ccxHxq/1eFwQGMRvrucnXN5ZEbOjhdYCDF3gXlVRkq/lnfGvw15JcOU+IRbAA1K+ibmxGT+2MjmaT5NPdGatAg=="
        },
        {
          "block_id_flag": "BLOCK_ID_FLAG_COMMIT",
          "validator_address": "0tRY+SCey4yiqrHZngZhG4Eqh5c=",
          "timestamp": "2023-08-05T16:03:33.572486364Z",
          "signature": "IsJlMi6Dh4nmp5CKP3Io+9Q+PWoHHNDcqUP/n1Xvedz3SH2fSdMcKaFsgqgXdT5aSZWkMDkJgwlWg3nKHZ90Aw=="
        },
        {
          "block_id_flag": "BLOCK_ID_FLAG_COMMIT",
          "validator_address": "IZnq6JTKOR+oLwHCxhS/6xA9BWw=",
          "timestamp": "2023-08-05T16:03:33.492597647Z",
          "signature": "o2nrGZeBgVkNnT1DC+FfQZSxldjIRm7terkqe1AqmWizByw9XNkoHtGQfhaENbxD+DqhFs3R5j78ozNxxj8FBA=="
        }
        //....
      ]
    }
  }
}


Try Yourself

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