pub fn transparent_address_observations(
tx: &Transaction,
) -> Vec<TransparentAddressObservation>Available on crate feature
transparent-inputs only.Expand description
Returns an observation for every address named by the given transaction’s transparent data:
one for each output whose scriptPubKey describes an address, and one for each non-coinbase
input whose scriptSig reveals the address of the output it spends.
Outputs and inputs whose scripts name no address are omitted. Script data that does not parse names no address; it is chain data the wallet does not control, so it is skipped rather than reported as an error.