Cashu-TS - v3.3.0
    Preparing search index...

    Function getP2PKNSigsRefund

    • Returns the number of Refund signatures required for a NUT-11 P2PK secret.

      Parameters

      • secretStr: string | Secret

        The NUT-11 P2PK secret.

      Returns number

      Number of Refund signatories (n_sigs_refund) required, or 0 if lock is inactive.

      Returns 0 if the refund lock is currently inactive.

      Proof may still be locked - use: getP2PKNSigs() to check!

      If secret is not P2PK.