Function zebra_state::service::read::address::tx_id::transparent_tx_ids

source ยท
pub fn transparent_tx_ids<C>(
    chain: Option<C>,
    db: &ZebraDb,
    addresses: HashSet<Address>,
    query_height_range: RangeInclusive<Height>,
) -> Result<BTreeMap<TransactionLocation, Hash>, BoxError>
where C: AsRef<Chain>,
Expand description

Returns the transaction IDs that sent or received funds from the supplied transparent::Addresses, within query_height_range, in chain order.

If the addresses do not exist in the non-finalized chain or finalized db, or the query_height_range is totally outside both the chain and db range, returns an empty list.