Return an M-of-N [Multisig]module.multisig:Multisig
object by passing a script in hex.
If the addressType is P2SH then the script hex being passed is
the redeem script. If the addressType is P2SH-wrapped SegWit
(P2SH_P2WSH) or native SegWit (P2WSH) then the script hex being
passed is the witness script.
In practice, the same script hex can be thought of as any of
several address types, depending on context.
Return an M-of-N [
Multisig]module.multisig:Multisig object by passing a script in hex.If the
addressTypeisP2SHthen the script hex being passed is the redeem script. If theaddressTypeis P2SH-wrapped SegWit (P2SH_P2WSH) or native SegWit (P2WSH) then the script hex being passed is the witness script.In practice, the same script hex can be thought of as any of several address types, depending on context.