Skip to content

Add unspent output lookup #33

Description

@aeitwoen

Balance and transaction history cannot identify which Bitcoin output is still spendable. explorers_balance only returns the aggregate, while explorers_tx_history emits normalized transaction summaries without vout; proving that an address still controls a1916e7e...:1 required a separate raw call to /api/address/:address/utxo. That gap matters for custody checks because a positive balance does not name the spendable set.

Add a UTXO capability and explorers_utxos operation for UTXO providers, starting with mempool-compatible APIs. Each row should keep txid, vout, value in the smallest unit, and confirmation metadata. Providers without an unspent-output endpoint should advertise the capability as false rather than infer it from truncated history.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions