Get Blocks by Version
Get the transactions in a block and the corresponding block information given a version in the block.
This method will use 50
Compute Units.
This endpoint allows you to get the transactions in a block and the corresponding block information given a version in the block.
Transactions are limited by max default transactions size. If not all transactions are present, the user will need to query for the rest of the transactions via the get transactions API.
If the block has been pruned, it will return a 410
Path parameters
versioninteger · uint64Required
Ledger version to lookup block information for.
Query parameters
with_transactionsbooleanOptional
If set to true, include all transactions in the block
If not provided, no transactions will be retrieved
Responses
200Success
400Error
application/json
403Error
application/json
404Error
application/json
410Error
application/json
500Error
application/json
503Error
application/json
get
Last updated
Was this helpful?