Function transparent_balance

Source
pub fn transparent_balance(
    chain: Option<Arc<Chain>>,
    db: &ZebraDb,
    addresses: HashSet<Address>,
) -> Result<(Amount<NonNegative>, u64), BoxError>
Expand description

Returns the total transparent balance and received balance for the supplied transparent::Addresses.

If the addresses do not exist in the non-finalized chain or finalized db, returns zero.