Get blocks by version
Changed onThis 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
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/v1/blocks/by_version/{version}
- Authnone declared
Path parameters
Ledger version to lookup block information for.
Query parameters
If set to true, include all transactions in the block
If not provided, no transactions will be retrieved
Response
Changes
- breaking
the mandatory response header
X-APTOS-BLOCK-HEIGHTremoved for the status200 - breaking
the mandatory response header
X-APTOS-CHAIN-IDremoved for the status200 - breaking
the mandatory response header
X-APTOS-EPOCHremoved for the status200 - breaking
the mandatory response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status200 - breaking
the mandatory response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status200 - breaking
the mandatory response header
X-APTOS-LEDGER-VERSIONremoved for the status200 - breaking
the mandatory response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status200 - warning
the optional response header
X-APTOS-BLOCK-HEIGHTremoved for the status400 - warning
the optional response header
X-APTOS-BLOCK-HEIGHTremoved for the status403 - warning
the optional response header
X-APTOS-BLOCK-HEIGHTremoved for the status404 - warning
the optional response header
X-APTOS-BLOCK-HEIGHTremoved for the status410 - warning
the optional response header
X-APTOS-BLOCK-HEIGHTremoved for the status500 - warning
the optional response header
X-APTOS-BLOCK-HEIGHTremoved for the status503 - warning
the optional response header
X-APTOS-CHAIN-IDremoved for the status400 - warning
the optional response header
X-APTOS-CHAIN-IDremoved for the status403 - warning
the optional response header
X-APTOS-CHAIN-IDremoved for the status404 - warning
the optional response header
X-APTOS-CHAIN-IDremoved for the status410 - warning
the optional response header
X-APTOS-CHAIN-IDremoved for the status500 - warning
the optional response header
X-APTOS-CHAIN-IDremoved for the status503 - warning
the optional response header
X-APTOS-CURSORremoved for the status200 - warning
the optional response header
X-APTOS-EPOCHremoved for the status400 - warning
the optional response header
X-APTOS-EPOCHremoved for the status403 - warning
the optional response header
X-APTOS-EPOCHremoved for the status404 - warning
the optional response header
X-APTOS-EPOCHremoved for the status410 - warning
the optional response header
X-APTOS-EPOCHremoved for the status500 - warning
the optional response header
X-APTOS-EPOCHremoved for the status503 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status200 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status400 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status403 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status404 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status410 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status500 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status503 - warning
the optional response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status400 - warning
the optional response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status403 - warning
the optional response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status404 - warning
the optional response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status410 - warning
the optional response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status500 - warning
the optional response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status503 - warning
the optional response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status400 - warning
the optional response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status403 - warning
the optional response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status404 - warning
the optional response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status410 - warning
the optional response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status500 - warning
the optional response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status503 - warning
the optional response header
X-APTOS-LEDGER-VERSIONremoved for the status400 - warning
the optional response header
X-APTOS-LEDGER-VERSIONremoved for the status403 - warning
the optional response header
X-APTOS-LEDGER-VERSIONremoved for the status404 - warning
the optional response header
X-APTOS-LEDGER-VERSIONremoved for the status410 - warning
the optional response header
X-APTOS-LEDGER-VERSIONremoved for the status500 - warning
the optional response header
X-APTOS-LEDGER-VERSIONremoved for the status503 - warning
the optional response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status400 - warning
the optional response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status403 - warning
the optional response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status404 - warning
the optional response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status410 - warning
the optional response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status500 - warning
the optional response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status503
- breaking
- breaking
added to the
//////////////////response propertyoneOflist for the response status - breaking
added to the
///////////////////////response propertyoneOflist for the response status - breaking
added to the
////////////////////response propertyoneOflist for the response status - breaking
added to the
///////////////////response propertyoneOflist for the response status - breaking
added to the
////////////////////response propertyoneOflist for the response status - breaking
added to the
///////////////////response propertyoneOflist for the response status - breaking
added to the
//////////////////response propertyoneOflist for the response status - breaking
added to the
///////////////////////response propertyoneOflist for the response status - breaking
added to the
////////////////////response propertyoneOflist for the response status - breaking
added to the
///////////////////response propertyoneOflist for the response status - breaking
added to the
////////////////////response propertyoneOflist for the response status - breaking
added to the
///////////////////response propertyoneOflist for the response status - info
added
abstract_signaturediscriminator mapping keys to the//////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the///////////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the////////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the///////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the////////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the///////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the//////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the///////////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the////////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the///////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the////////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the///////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the//////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the///////////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the////////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the///////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the////////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the///////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the//////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the///////////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the////////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the///////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the////////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the///////////////////response property for the response status - info
removed from the
//////////////////response propertyoneOflist for the response status - info
removed from the
///////////////////////response propertyoneOflist for the response status - info
removed from the
////////////////////response propertyoneOflist for the response status - info
removed from the
///////////////////response propertyoneOflist for the response status - info
removed from the
////////////////////response propertyoneOflist for the response status - info
removed from the
///////////////////response propertyoneOflist for the response status - info
removed from the
//////////////////response propertyoneOflist for the response status - info
removed from the
///////////////////////response propertyoneOflist for the response status - info
removed from the
////////////////////response propertyoneOflist for the response status - info
removed from the
///////////////////response propertyoneOflist for the response status - info
removed from the
////////////////////response propertyoneOflist for the response status - info
removed from the
///////////////////response propertyoneOflist for the response status
- breaking