Expand description
Reading address balances.
In the functions in this module:
The block write task commits blocks to the finalized state before updating
chain with a cached copy of the best non-finalized chain from
NonFinalizedState.chain_set. Then the block commit task can commit additional blocks to
the finalized state after weโve cloned the chain.
This means that some blocks can be in both:
Functionsยง
- apply_
balance_ ๐change - Add the supplied finalized and non-finalized balances together, and return the result.
- chain_
transparent_ ๐balance_ change - Returns the total transparent balance change for
addressesin the non-finalized chain, matching the balance for thefinalized_tip. - finalized_
transparent_ ๐balance - Returns the total transparent balance for
addressesin the finalized chain, and the finalized tip height the balances were queried at. - transparent_
balance - Returns the total transparent balance and received balance for the supplied
transparent::Addresses.