Fetch the current chain tip.
Current chain height, block time, and block hash
Fetch spendable onchain outputs for an address.
Bitcoin address to query
Spendable onchain outputs for the address
Fetch transactions associated with an address.
Bitcoin address to query
Transactions involving the address
Fetch outspend information for every output in a transaction.
Transaction id to inspect
Per-output spend status information. txid (the spender) may be
absent even when spent is true: some Esplora deployments
(e.g. mempool.arkade.sh) omit it from /outspends.
Watch a set of addresses and invoke the callback when transactions are observed.
Addresses to monitor
Callback invoked when matching transactions are seen
Stop function that cancels the watch
Broadcast a single transaction or a 1P1C package.