zebra_state::service::read::address::tx_id

Function finalized_transparent_tx_ids

source
fn finalized_transparent_tx_ids(
    db: &ZebraDb,
    addresses: &HashSet<Address>,
    query_height_range: RangeInclusive<Height>,
) -> (BTreeMap<TransactionLocation, Hash>, Option<RangeInclusive<Height>>)
Expand description

Returns the transaction::Hashes for addresses in the finalized chain query_height_range, and the finalized tip heights the transaction IDs were queried at.

If the addresses do not exist in the finalized db, returns an empty list.