/v1/transactions/by_version/{txn_version}

Retrieves a transaction from the Aptos blockchain by ledger version. If the version has been pruned, the server responds with a 410.

⚠ This endpoint is only available with Blast access.

Path parameters

txn_versionstringRequired
The version of the transaction to retrieve.

Response

Transaction data for the given version.
versionstring or null
hashstring or null
state_change_hashstring or null
event_root_hashstring or null
state_checkpoint_hashstring or null
gas_usedstring or null
successboolean or null
vm_statusstring or null
accumulator_root_hashstring or null
changeslist of objects or null
List of state changes made by the transaction.
timestampstring or null
typestring or null