/cosmos/base/tendermint/v1beta1/blocks/latest - Axelar

Returns the latest committed block via the Cosmos base-tendermint service, with the block id, header, and transaction data.

Endpoint

httpGET /cosmos/base/tendermint/v1beta1/blocks/latest

Example

bashexport AKASH_REST=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${AKASH_REST}cosmos/base/tendermint/v1beta1/blocks/latest"

Response

json{
    "block_id": {
        "hash": "b64=="
    },
    "block": {
        "header": {
            "chain_id": "axelar-dojo-1",
            "height": "19500000",
            "time": "2025-11-01T12:00:00Z"
        },
        "data": {
            "txs": [
                "Cr0BC..."
            ]
        }
    }
}

Response Fields

FieldTypeDescription
block.header.heightstringLatest block height
block.header.chain_idstringChain id

Use Cases

  • Chain Tip: Read the latest height
  • Following: Poll the latest block
  • Explorers: Render the latest block

Error Handling

ErrorMessageDescription
400 / Bad requestBad requestA parameter was invalid
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect