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}'