Cashu-TS - v4.0.0-rc3
    Preparing search index...

    Type Alias KeyChainCache

    Cached view of a KeyChain.

    This is the preferred format for persisting and restoring keychain state. The cache contains keysets for all units at the mint. Use KeyChain.fromCache (which takes an explicit unit) or wallet.loadMintFromCache to restore.

    type KeyChainCache = {
        keysets: KeysetCache[];
        mintUrl: string;
        savedAt?: number;
    }
    Index

    Properties

    keysets: KeysetCache[]

    Flattened keysets and, optionally, their keys. Contains all units.

    mintUrl: string

    Mint URL that this cache belongs to.

    savedAt?: number

    Unix timestamp (ms) when this cache was created. Use for TTL / staleness checks.