Query Parameters
- limitinteger
Default: 20. The max number of blocks to fetch.
- offsetinteger
Index of first block to fetch.
Returns
- blocks_responseobject
GET request that returns blocks
- limitinteger
The number of blocks to return.
- offsetinteger
The number of blocks to skip (starting at 0).
- totalinteger
The total number of available blocks.
- next_cursorstring
Cursor for the next page (if available).
- prev_cursorstring
Cursor for the previous page (if available).
- cursorstring
Current cursor position.
- resultsarray
List of blocks.
- canonicalboolean
Set to true if the block corresponds to the canonical chain tip.
- heightinteger
The height of the block.
- hashstring
The hash representing the block.
- block_timeinteger
Unix timestamp (in seconds) indicating when this block was processed.
- block_time_isostring
An ISO 8601 timestamp indicating when this block was processed (YYYY-MM-DDTHH:mm:ss.sssZ).
- tenure_heightinteger
The tenure height of the block.
- index_block_hashstring
The index block hash.
- parent_block_hashstring
The hash of the parent block.
- parent_index_block_hashstring
The parent index block hash.
- burn_block_timeinteger
Unix timestamp (in seconds) indicating when this block was mined.
- burn_block_time_isostring
An ISO 8601 timestamp indicating when this block was mined (YYYY-MM-DDTHH:mm:ss.sssZ).
- burn_block_hashstring
Hash of the anchor chain block.
- burn_block_heightinteger
Height of the anchor chain block.
- miner_txidstring
Anchor chain transaction ID.
- tx_countinteger
Number of transactions in the block.
- execution_cost_read_countinteger
Execution cost read count.
- execution_cost_read_lengthinteger
Execution cost read length.
- execution_cost_runtimeinteger
Execution cost runtime.
- execution_cost_write_countinteger
Execution cost write count.
- execution_cost_write_lengthinteger
Execution cost write length.