Skip to main content

Get block

Retrieves a single block

Path Parameters
height_or_hash REQUIRED

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

Responses
200

Block

Schema OPTIONAL
canonical boolean

Set to true if block corresponds to the canonical chain tip

height integer

Height of the block

hash string

Hash representing the block

block_time number

Unix timestamp (in seconds) indicating when this block was mined.

block_time_iso string

An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined.

index_block_hash string

The only hash that can uniquely identify an anchored block or an unconfirmed state trie

parent_block_hash string

Hash of the parent block

parent_index_block_hash string

Index block hash of the parent block

burn_block_time number

Unix timestamp (in seconds) indicating when this block was mined.

burn_block_time_iso string

An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined.

burn_block_hash string

Hash of the anchor chain block

burn_block_height integer

Height of the anchor chain block

miner_txid string

Anchor chain transaction ID

tx_count integer

Number of transactions included in the block

execution_cost_read_count integer

Execution cost read count.

execution_cost_read_length integer

Execution cost read length.

execution_cost_runtime integer

Execution cost runtime.

execution_cost_write_count integer

Execution cost write count.

execution_cost_write_length integer

Execution cost write length.