Function zebra_state::service::read::address::utxo::lookup_tx_ids_for_utxos

source ·
fn lookup_tx_ids_for_utxos<C>(
    chain: Option<C>,
    db: &ZebraDb,
    addresses: &HashSet<Address>,
    utxos: &BTreeMap<OutputLocation, Output>,
) -> BTreeMap<TransactionLocation, Hash>
where C: AsRef<Chain>,
Expand description

Returns the transaction::Hashes containing the supplied UTXOs, from the non-finalized chain and finalized db.

§Panics

If any UTXO is not in the supplied state.