Function zebra_state::service::read::address::utxo::finalized_address_utxos
source ยท fn finalized_address_utxos(
db: &ZebraDb,
addresses: &HashSet<Address>,
) -> (BTreeMap<OutputLocation, Output>, Option<RangeInclusive<Height>>)
Expand description
Returns the unspent transparent outputs (UTXOs) for addresses
in the finalized chain,
and the finalized tip heights the UTXOs were queried at.
If the addresses do not exist in the finalized db
, returns an empty list.