/v1/blocks/by_version/
Retrieves block metadata and optionally the transactions contained in the block, based on a specific ledger version.
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
version
Ledger version to look up block information for.
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