/v1/transactions/by_hash/{txn_hash}

Retrieves a transaction from the Aptos blockchain by transaction hash. If the transaction is not found or has been pruned, the API may return a 404 or 410 respectively. This endpoint has a credit cost of 10.

⚠ This endpoint is only available with Blast access.

Path parameters

txn_hashstringRequired
The hash of the transaction to retrieve.

Response

Transaction details for the given hash.
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