Cashu-TS - v3.3.0
    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

      Returns undefined | number

      Use expiry instead.

    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).

    • Verifies that a MintKeys DTO has a correct id for its keys/unit/expiry.

      Parameters

      Returns boolean

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