fn chain_transparent_utxo_changes<C>(
chain: Option<C>,
addresses: &HashSet<Address>,
finalized_tip_range: Option<RangeInclusive<Height>>,
) -> Result<(BTreeMap<OutputLocation, Output>, BTreeSet<OutputLocation>, Option<Height>), BoxError>
Expand description
Returns the UTXO changes (created and spent) for addresses
in the
non-finalized chain, matching or overlapping the UTXOs for the
finalized_tip_range
. Also returns the height of the last block in which
the changes were located, or None if the state is empty.
If the addresses do not exist in the non-finalized chain
, returns an empty
list.