/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_height
Block height to look up. Starts at 0.
Query parameters
with_transactions
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_height
block_hash
block_timestamp
first_version
last_version
transactions