요금GitHub대시보드

Aptos

/v1/transactions/by_hash/{txn_hash}30 크레딧

Get transaction by hash

네트워크: apt

매개변수

이름타입설명
txn_hashstringPath. 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}'