Get a Transaction

Returns a transaction by a user-defined transaction hash.

❗️

Note

For Polkadot (DOT), the transaction hash is not a unique identifier. Instead, you must use the format $blocknumber-$index (e.g., 23298706-2).

For more details on the concept, refer to the Polkadot documentation.

Supported Protocols & Networks

Protocol Network Path Parameter
Algorand Mainnet algorand/mainnet
Avalanche Mainnet-c avalanche/mainnet-c
Testnet-c avalanche/testnet-c
Bitcoin Mainnet bitcoin/mainnet
Testnet bitcoin/testnet
Testnet4 bitcoin/testnet4
Bitcoincash Mainnet bitcoincash/mainnet
Testnet bitcoincash/testnet
Dogecoin Mainnet dogecoin/mainnet
Testnet dogecoin/testnet
Ethereum Mainnet ethereum/mainnet
Holesky ethereum/holesky
Sepolia ethereum/sepolia
Hoodi ethereum/hoodi
Litecoin Mainnet litecoin/mainnet
Testnet litecoin/testnet
Optimism Mainnet optimism/mainnet
Polkadot Mainnet polkadot/mainnet
Westend polkadot/westend
Polygon Mainnet polygon/mainnet
Amoy polygon/amoy
Solana Mainnet solana/mainnet
Testnet solana/testnet
Stellar Mainnet stellar/mainnet
Testnet stellar/testnet
Tezos Mainnet tezos/mainnet
XRP Mainnet xrp/mainnet
🚧

Truncation Info

For responses that have big numbers (such as in transfer amounts from blockchain transactions), truncation might be applied from Javascript’s native JSON parser.

To avoid this behavior, we recommend using a library such as json-bigint or lossless-json

Language
Credentials
URL
Click Try It! to start a request and see the response here!