Cashu-TS - v4.12.0
    Preparing search index...

    Function assertSpendableVersion

    • Internal

      Refuse unsupported keyset versions, including paths that never load keys.

      Parameters

      • keysetId: string
      • Optionallogger: Logger

      Returns void

      Takes the id rather than a Keyset so callers holding only a proof can use it. The parse mirrors Keyset.version, which reads the same byte off a loaded keyset.