Cashu-TS - v4.0.0-rc3
    Preparing search index...

    Function getP2PKSigFlag

    • Returns the sigflag from a NUT-11 P2PK secret.

      Parameters

      • secretStr: string | Secret

        The NUT-11 P2PK secret.

      Returns SigFlag

      The sigflag ('SIG_INPUTS' or 'SIG_ALL').

      If secret is not P2PK, or if the sigflag tag contains an unrecognised value.