Aptos
/v1/transactions/by_hash/{txn_hash}30クレジット
Get transaction by hash
パラメータ
| 名前 | 型 | 説明 |
|---|---|---|
| txn_hash | string | Path. Transaction hash (hex string). |
戻り値
型
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.
コード例
curl 'https://holy-burned-sky-apt-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/v1/transactions/by_hash/{txn_hash}'