OptionalcachedKeysets: MintKeyset[]OptionalcachedKeys: MintKeys | MintKeys[]Preferred consolidated cache representation.
Legacy Mint API cache format.
Get a keyset by ID or the cheapest keyset if no ID is provided.
Optionalid: stringOptional keyset ID.
Keyset with keys.
StaticcacheConvert a KeyChainCache back into Mint API DTOs.
This is the inverse of KeyChain.mintToCacheDTO and is used by loadFromCache and the
deprecated getCache() wrapper.
StaticfromConstruct a KeyChain from previously cached data.
StaticmintConvert Mint API DTOs into a consolidated KeyChainCache.
This is symmetrical to KeyChain.cacheToMintDTO. It is used by the cache getter and any
code that wants to move from raw Mint DTOs to the new cache shape.
Manages the unit-specific keysets for a Mint.
Remarks
Will ONLY load keysets in the KeyChain unit.