fn chain_transparent_utxo_changes<C>(
chain: Option<C>,
addresses: &HashSet<Address>,
finalized_tip_range: Option<RangeInclusive<Height>>,
query_height_range: &RangeInclusive<Height>,
max_entries: Option<usize>,
) -> 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.
Only returns the created UTXOs in query_height_range that the chain doesn’t spend,
at most max_entries of them. See Chain::partial_transparent_utxo_changes for details.
If the addresses do not exist in the non-finalized chain, returns an empty
list.