Function payToScriptHashScript

  • Takes a script and returns an equivalent pay-to-script-hash script.

    Parameters

    • redeem_script: string | Uint8Array

      The redeem script (HexString or Uint8Array).

    Returns ScriptPublicKey

Generated using TypeDoc