Skip to main content
GET
/
indexer
/
block
/
v1
/
blocks
/
{height}
Get block by height
curl --request GET \
  --url https://rollytics-api-evm-1.anvil.asia-southeast.initia.xyz/indexer/block/v1/blocks/{height}
{
  "block": {
    "chain_id": "<string>",
    "height": "<string>",
    "hash": "<string>",
    "block_time": "<string>",
    "timestamp": "<string>",
    "gas_used": "<string>",
    "gas_wanted": "<string>",
    "tx_count": "<string>",
    "total_fee": [
      {
        "denom": "<string>",
        "amount": "<string>"
      }
    ],
    "proposer": {
      "moniker": "<string>",
      "identity": "<string>",
      "operator_address": "<string>"
    }
  }
}

Path Parameters

height
integer
required

The block height.

Response

Successful response

block
object