TarifsGitHubTableau de bord

Aptos

/v1/transactions/by_hash/{txn_hash}30 crédits

Get transaction by hash

Réseau: apt

Paramètres

NomTypeDescription
txn_hashstringPath. Transaction hash (hex string).

Valeur renvoyée

Type

object

Transaction with a type discriminator. A committed one has version, hash, success, vm_status, gas_used, events, timestamp; a pending one (type pending_transaction) has hash, sender, sequence_number and payload only.

Exemples de code

curl 'https://holy-burned-sky-apt-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/v1/transactions/by_hash/{txn_hash}'