Get a Transaction

Returns a transaction by a user-defined transaction hash.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
💡

Compute Unit Value: 5 (fixed)


❗️

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
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
Devnet solana/devnet
Stellar Mainnet stellar/mainnet
Testnet stellar/testnet
XRP Mainnet xrp/mainnet
Testnet xrp/testnet


🚧

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

Path Params
string
required
Defaults to bitcoin

Protocol handle, one of: algorand, avalanche, bitcoin, bitcoincash, dogecoin, ethereum, litecoin, optimism, polkadot, polygon, solana, stellar tezos, xrp.

string
required
Defaults to mainnet

Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}.

string
required
Defaults to 71d4f3412ec11128bbd9ce988d5bff2ec3bb6ea3953c8faf189d88ae49de9f7a

The transaction hash.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json