/v1/transactions/by_hash/{txn_hash}
GET
https://aptos-mainnet.g.alchemy.com/v2/docs-demo/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
stringrequired
The hash of the transaction to retrieve.
Responses
200
Transaction details for the given hash.
Was this page helpful?