In a Tapscript Keypath Transaction (there is an unrelated Scriptpath too) I can have outputs to all possible address?

(I.e. to P2PKH, P2SH, P2WPKH / P2WSH and P2TR)

I have a list of addresses in all possible formats (including bech32(m)). How can I ensure / verify that the scriptPubKey is mappable to an address in this list?

The signing client has access to every part of transaction’s construction.

Leave a Reply

Your email address will not be published. Required fields are marked *