Actions9
Get Address Transactions
AI-generatedOverview
This node interacts with the Blockstream API (Esplora) to retrieve the transaction history of a specified Bitcoin address on various Bitcoin networks (mainnet, testnet, Liquid, Liquid testnet). It is useful for users who want to analyze or monitor the transactions associated with a Bitcoin address, such as wallet activity tracking or blockchain data analysis.
Use Case Examples
- Retrieve the last 25 transactions of a Bitcoin mainnet address to monitor wallet activity.
- Fetch up to 50 transactions from a testnet address for testing or development purposes.
Properties
| Name | Meaning |
|---|---|
| Network | Specifies which Bitcoin network to query (mainnet, testnet, Liquid, or Liquid testnet). |
| Address | The Bitcoin address for which to retrieve transaction history. |
| Limit | Maximum number of transactions to return (between 1 and 50). |
Output
JSON
json- Array of transaction objects representing the transaction history of the specified address, limited by the 'Limit' parameter.
Dependencies
- Blockstream API (Esplora) endpoint accessed via HTTP requests using axios library.
Troubleshooting
- Common issues include invalid or malformed Bitcoin addresses, which will cause the API to return errors.
- Network selection must match the address type; querying mainnet for a testnet address will fail.
- Limit parameter must be between 1 and 50; values outside this range may cause errors or unexpected results.
- API rate limits or network connectivity issues may cause request failures.
Links
- Blockstream API Documentation - Official documentation for the Blockstream Esplora API used to fetch Bitcoin blockchain data.