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

    Function deriveKeysetId

    • Returns the keyset id of a set of keys.

      Parameters

      • keys: Keys

        Keys object to derive keyset id from.

      • Optionalunit: string

        (optional) the unit of the keyset.

      • Optionalexpiry: number

        (optional) expiry of the keyset.

      • versionByte: number = 0

        (optional) version of the keyset ID. Default is 0.

      Returns string

      Keyset id of the keys.

      If keyset versionByte is not valid.