Aptos
/v1/transactions/by_version/{txn_version}30 crédits
Get transaction by version
Paramètres
| Nom | Type | Description |
|---|---|---|
| txn_version | string (u64) | Path. Ledger version of the transaction. |
Valeur renvoyée
Type
object
Committed transaction with a type discriminator plus version, hash, success, vm_status, gas_used, events, timestamp. Returns 410 if the version is pruned.
Exemples de code
curl 'https://holy-burned-sky-apt-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/v1/transactions/by_version/{txn_version}'