Actions9
Get Address UTXO
AI-generatedOverview
This node interacts with the Blockstream API (Esplora) to retrieve Unspent Transaction Outputs (UTXOs) for a specified Bitcoin address. It supports multiple Bitcoin networks including mainnet, testnet, Liquid, and Liquid testnet. This operation is useful for blockchain analysis, wallet balance calculations, and transaction building by fetching all UTXOs associated with an address.
Use Case Examples
- A user wants to check all unspent outputs for a Bitcoin address on the mainnet to prepare for creating a new transaction.
- A developer needs to monitor UTXOs on a testnet address for testing a Bitcoin wallet application.
Properties
| Name | Meaning |
|---|---|
| Network | Specifies which Bitcoin network to query (mainnet, testnet, Liquid, or Liquid testnet). |
| Address | The Bitcoin address for which to retrieve UTXOs. This is a required string input. |
Output
JSON
json- The JSON response containing the list of UTXOs for the specified address. Each UTXO includes details such as transaction id, output index, value, and status.
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.
- API rate limits or network connectivity issues may cause request failures.
- Error messages from the API are propagated and can be seen in the node output if 'Continue On Fail' is enabled.
Links
- Blockstream Esplora API Documentation - Official documentation for the Blockstream API used to fetch Bitcoin blockchain data.