Get recent blocks

Retrieves a list of recently mined blocks.

GET

Parameters

Query Parameters

limit
integer max number of blocks to fetch
offset
integer Result offset
Status codeDescription
200GET request that returns blocks
4XXDefault Response
cURL
curl -L \
"https://api.hiro.so/extended/v1/block/?limit={limit}&offset={offset}" \
-H 'Accept: application/json'
Response
{
"limit": 20,
"offset": 0,
"total": 1,
"results": [
{
"canonical": false,
"height": 144000,
"hash": "0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79",
"block_time": 144000,
"block_time_iso": "string",
"tenure_height": 144000,
"index_block_hash": "0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79",
"parent_block_hash": "0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79",
"burn_block_time": 144000,
"burn_block_time_iso": "string",
"burn_block_hash": "0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79",
"burn_block_height": 144000,
"miner_txid": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"execution_cost_read_count": 1,
"execution_cost_read_length": 0,
"execution_cost_runtime": 0,
"execution_cost_write_count": 1,
"execution_cost_write_length": 0,
"txs": [
"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
],
"parent_microblock_hash": "0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79",
"parent_microblock_sequence": 144000,
"microblocks_accepted": [
"0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79"
],
"microblocks_streamed": [
"0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79"
]
}
]
}

How is this guide?