Blockdaemon REST API - Get a Transaction Details
URL Expired
The URL for this request expired after 30 days.
💡
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 asjson-bigintorlossless-json
API Parameters
- protocol (string): Required. Defaults to bitcoin. The protocol handle, one of:
algorand,avalanche,bitcoin,bitcoincash,dogecoin,ethereum,litecoin,optimism,polkadot,polygon,solana,stellar,tezos,xrp. - network (string): Required. Defaults to mainnet. The network to target. Available networks can be found in the list of supported protocols or with /{protocol}.
- hash (string): Required. Defaults to
71d4f3412ec11128bbd9ce988d5bff2ec3bb6ea3953c8faf189d88ae49de9f7a. The transaction hash.
Response Codes
200: Transaction401: Invalid or expired token404: Not Found429: Rate limit exceeded500: An internal server error happened503: The resource you are trying to access is currently unavailable
Sample Request:
curl --request GET \
--url https://svc.blockdaemon.com/universal/v1/bitcoin/mainnet/tx/71d4f3412ec11128bbd9ce988d5bff2ec3bb6ea3953c8faf189d88ae49de9f7a \
--header 'X-API-Key: ••••' \
--header 'accept: application/json'
Try It!
- Click
Try It!to start a request and see the response here. - or choose an example:
application/json
200 401 404 429 500 503