Manage blockchain transactions using our transaction API to create, send, and estimate fees.
The Transaction API enables transactions for various blockchain implementations, including EVM and others. It offers endpoints for creating, compiling, sending, decoding, and estimating fees for transactions.
The Transaction API is part of the Wallet Transact bundles.
Authentication
You can authenticate your request by using your API Key either as a:
- Query parameter (
?apiKey=<YOUR_API_KEY>
)
or
- Header (
X-API-Key: <YOUR_API_KEY>
)
Info:
Refer to the Authenticate Your API Requests page for more details.
Supported Protocols and Networks
Protocol | Network |
---|---|
Algorand | Mainnet |
Avalanche | Mainnet-c Testnet-c |
Bitcoin | Mainnet Testnet |
Bitcoincash | Mainnet Testnet |
Dogecoin | Mainnet Testnet |
Ethereum | Mainnet Holesky Sepolia |
Fantom | Mainnet Testnet |
Litecoin | Mainnet Testnet |
Optimism | Mainnet |
Polkadot | Mainnet Westend |
Polygon | Mainnet Amoy |
Solana | Mainnet Testnet |
Stellar | Mainnet Testnet |
Tezos | Mainnet |
Tron | Mainnet Nile |
XRP | Mainnet |
Transaction API v1
The URL structure for Transaction API v1 endpoints is as follows.
https://svc.blockdaemon.com/universal/{version}/{protocol}/{network}
Endpoints
All data will be accessible through the following API endpoints:
Endpoint |
---|
Get the Transaction Confirmations - GET /tx/{hash}/confirmations |
Get a Transaction - GET /tx/{hash} |
Get a Transaction Output by Hash and Index - GET /tx/{hash}/{index} |
Get a List of Transaction Inputs and Outputs - GET /account/{address}/utxo |
Get a List of Transactions for a Given Address - GET /account/{address}/txs |
Get a List of Transactions - GET /txs |
Transaction API v2
The URL structure for Transaction API v2 endpoints is as follows.
https://svc.blockdaemon.com/tx/v1/{blockchain_id}
Endpoints
Version 2 of the API not only includes the functionalities of version 1 but also adds additional improvements through the following API endpoints:
Endpoint |
---|
Get the Supported Protocol Info - GET /{blockchain_id} |
Create an Unsigned Transaction - POST /create |
Create an Unsigned Token Transfer Transaction - POST /create/token |
Compile an Unsigned Transaction - POST /compile |
Compile and Broadcast an Unsigned Transaction - POST /compile_and_send |
Submit a Signed Transaction - POST /send |
Verify a Transaction - POST /verify |
Decode a Transaction - POST /decode |
Get the Fee Estimation - POST /estimate_fee |
👋 Need Help?
Contact us through email or our support page for any issues, bugs, or assistance you may need.