/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.
Path Parameters
txn_hash
The hash of the transaction to retrieve.
Response
Transaction details for the given hash.
version
hash
state_change_hash
event_root_hash
state_checkpoint_hash
gas_used
success
vm_status
accumulator_root_hash
changes