10

Let there be an address 3ABCDEFGHJKDJHDH....

How can I understand if it's a SegWit address or a MultiSig address?

1 Answer 1

8

Until a P2SH-P2WPKH UTXO is spent and the redeemScript is exposed, a P2SH-P2WPKH address is indistinguishable from a non-segwit P2SH address (such as a non-segwit multi-signature address)

Reference: https://bitcoincore.org/en/segwit_wallet_dev/

That's because a P2SH address is still a hash of the script, regardless of whether the script is an embedded P2WPKH script or plain old script script. So you can't 'decode' it back into what the script is, you have to wait until the script itself is made public when redeeming the output.

1
  • yup, type 3 addresses are a hash of an input value, and with current technology it is nearly impossible, to reverse the function to see it's initial input. Commented Aug 25, 2017 at 14:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.