Get block by burnchain block hash

Retrieves block details of a specific block for a given burnchain block hash.

GET
/extended/v1/block/by_burn_block_hash/{burn_block_hash}

Get block by burnchain block hash

Deprecated

This endpoint is deprecated in favor of Get blocks.

Retrieves block details of a specific block for a given burnchain block hash

Status codeDescription
200Block
404Cannot find block with given height
/extended/v1/block/by_burn_block_hash/{burn_block_hash}
curl -X GET "https://api.hiro.so/extended/v1/block/by_burn_block_hash/%7Bburn_block_hash%7D"

A block

{
  "canonical": true,
  "height": 0,
  "hash": "string",
  "block_time": 0,
  "block_time_iso": "string",
  "index_block_hash": "string",
  "parent_block_hash": "string",
  "burn_block_time": 0,
  "burn_block_time_iso": "string",
  "burn_block_hash": "string",
  "burn_block_height": 0,
  "miner_txid": "string",
  "parent_microblock_hash": "string",
  "parent_microblock_sequence": 0,
  "txs": [
    "string"
  ],
  "microblocks_accepted": [
    "string"
  ],
  "microblocks_streamed": [
    "string"
  ],
  "execution_cost_read_count": 0,
  "execution_cost_read_length": 0,
  "execution_cost_runtime": 0,
  "execution_cost_write_count": 0,
  "execution_cost_write_length": 0,
  "microblock_tx_count": {
    "property1": 0,
    "property2": 0
  }
}