Aptos
/v1/transactions/by_version/{txn_version}30 额度
Get transaction by version
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| txn_version | string (u64) | Path. Ledger version of the transaction. |
返回值
类型
object
Committed transaction with a type discriminator plus version, hash, success, vm_status, gas_used, events, timestamp. Returns 410 if the version is pruned.
代码示例
curl 'https://holy-burned-sky-apt-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/v1/transactions/by_version/{txn_version}'