pub fn transparent_balance(
chain: Option<Arc<Chain>>,
db: &ZebraDb,
addresses: HashSet<Address>,
) -> Result<Amount<NonNegative>, BoxError>
Expand description
Returns the total transparent balance for the supplied transparent::Address
es.
If the addresses do not exist in the non-finalized chain
or finalized db
, returns zero.