@arkade-os/sdk Documentation - v0.3.11
    Preparing search index...

    Function verifyTapscriptSignatures

    • Verify tapscript signatures on a transaction input

      Parameters

      • tx: Transaction

        Transaction to verify

      • inputIndex: number

        Index of the input to verify

      • requiredSigners: string[]

        List of required signer pubkeys (hex encoded)

      • excludePubkeys: string[] = []

        List of pubkeys to exclude from verification (hex encoded, e.g., server key not yet signed)

      • allowedSighashTypes: number[] = ...

        List of allowed sighash types (defaults to [SigHash.DEFAULT])

      Returns void

      Error if verification fails