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>
Expand description
Returns the transaction::Hash
es containing the supplied UTXOs,
from the non-finalized chain
and finalized db
.
§Panics
If any UTXO is not in the supplied state.