Caravan Documentation
    Preparing search index...

    Function generateMultisigFromHex

    • 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.

      Parameters

      • network: any
      • addressType: any
      • multisigScriptHex: any

      Returns null | Payment