@arkade-os/sdk Documentation - v0.5.0-rc.11
    Preparing search index...

    Function assertAllowedSighashTypes

    • Reject a PSBT that declares a sighash type outside allowedSighashTypes on any input, before it reaches a signer. An input carrying no explicit type is left alone: the signer treats a taproot input as SigHash.DEFAULT.

      Parameters

      • tx: Transaction
      • allowedSighashTypes: number[] = ...

      Returns void