Get block

Retrieves a single block.

GET

Parameters

Path Parameters

height_or_hash
REQUIRED
string
Status codeDescription
200Default Response
4XXDefault Response
cURL
curl -L \
"https://api.hiro.so/extended/v2/blocks/{height_or_hash}" \
-H 'Accept: application/json'
Response
{
"canonical": false,
"height": 144000,
"hash": "0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79",
"block_time": 144000,
"block_time_iso": "string",
"tenure_height": 144000,
"index_block_hash": "0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79",
"parent_block_hash": "0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79",
"parent_index_block_hash": "0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79",
"burn_block_time": 144000,
"burn_block_time_iso": "string",
"burn_block_hash": "0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79",
"burn_block_height": 144000,
"miner_txid": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"tx_count": 144000,
"execution_cost_read_count": 1,
"execution_cost_read_length": 0,
"execution_cost_runtime": 0,
"execution_cost_write_count": 1,
"execution_cost_write_length": 0
}

How is this guide?