Get burn block

Retrieves a single burn block.


GET
/extended/v2/burn-blocks/{height_or_hash}

Get burn block

Retrieves a single burn block

Path Parameters

height_or_hash
Required
integer | string

filter by burn block height, hash, or the constant latest to filter for the most recent burn block

Status codeDescription
200Burn block
/extended/v2/burn-blocks/{height_or_hash}

Terminal
$
curl -X GET "https://api.hiro.so/extended/v2/burn-blocks/42000"

A burn block

{
"burn_block_time": 0,
"burn_block_time_iso": "string",
"burn_block_hash": "string",
"burn_block_height": 0,
"stacks_blocks": [
"string"
],
"avg_block_time": 0,
"total_tx_count": 0
}