@cashu/cashu-ts
    Preparing search index...

    Class Keyset

    Index

    Constructors

    • Parameters

      • id: string
      • unit: string
      • active: boolean
      • Optionalinput_fee_ppk: number
      • Optionalfinal_expiry: number

      Returns Keyset

    Accessors

    • get final_expiry(): undefined | number

      For compat with v2 MintKeyset type.

      Returns undefined | number

    Methods

    • Verifies that the keyset's ID matches the derived ID from its keys, unit, and expiry.

      Returns boolean

      True if verification succeeds, false otherwise (e.g., no keys or mismatch).