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

    Function getValidSigners

    • Returns the set of unique public keys that have produced a valid Schnorr signature for a given message.

      Parameters

      • signatures: string[]

        The Schnorr signature(s) (hex-encoded).

      • message: string

        The message to verify.

      • pubkeys: string[]

        The Cashu P2PK public key(s) (hex-encoded, X-only or with 02/03 prefix) to check.

      Returns string[]

      Array of public keys who validly signed, duplicates removed.