/v1/blocks/by_height/{block_height}

Retrieves block metadata and optionally the transactions contained in the block. If the block is pruned, the server will return a 410 error. To avoid partial results when with_transactions=true, consider checking the total number of transactions expected.

⚠ This endpoint is only available with Blast access.

Path parameters

block_heightintegerRequired
Block height to look up. Starts at 0.

Query parameters

with_transactionsbooleanOptional
If set to true, includes all transactions in the block. May be limited by max transaction size.

Response

Block data with or without transactions.
block_heightstring or null
block_hashstring or null
block_timestampstring or null
first_versionstring or null
last_versionstring or null
transactionslist of objects or null