Manages the unit-specific keysets for a Mint.
Will ONLY load keysets in the Keychain unit.
Optional
Extract the Mint API data from the keychain.
Useful for instantiating new wallets / keychains without repeatedly calling the mint API.
Get the cheapest active keyset.
Active Keyset.
Selects active keyset with lowest fee and hex ID.
If none found or uninitialized.
Get a keyset by ID or the cheapest keyset if no ID is provided.
Optional keyset ID.
Keyset with keys.
If keyset not found or uninitialized.
Get list of all keysets for the unit.
Array of Keysets.
If uninitialized.
Single entry point to load or refresh keysets and keys for the unit.
If true, refetch even if loaded.
Fetches in parallel, filters by unit, assigns keys.
Manages the unit-specific keysets for a Mint.
Remarks
Will ONLY load keysets in the Keychain unit.