Get blocks

Retrieves a list of recently mined blocks.

GET

Parameters

Query Parameters

limit
integer Results per page
offset
integer Result offset
cursor
string Cursor for block pagination
Status codeDescription
200Default Response
4XXDefault Response
cURL
curl -L \
"https://api.hiro.so/extended/v2/blocks/?limit={limit}&offset={offset}&cursor={cursor}" \
-H 'Accept: application/json'
Response
{
"limit": 20,
"offset": 0,
"total": 1,
"next_cursor": "string",
"prev_cursor": "string",
"cursor": "string",
"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",
"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?