Optionallogger: LoggerSnapshot of the full mint info response, safe to mutate or persist.
NUT-06: max length the mint accepts for any array in a request (inputs, outputs, Ys).
Always a usable number: the library default when the mint advertises none.
Current server time as a Unix timestamp in seconds.
Endpoint URLs the mint advertises for itself. Informational only: whether to trust or switch to any of them is the consumer's decision.
Checks if the mint advertises the given (method, unit) pair for the given operation ('mint' →
NUT-4, 'melt' → NUT-5).
Checks if the mint supports creating invoices/offers with a description for the specified payment method.
The payment method to check ('bolt11' or 'bolt12')
Optionalunit: stringTrue if the mint supports description for the method, false otherwise.
Staticnormalize
Wraps a mint's
/v1/inforesponse with capability helpers.Constructable from any
GetInfoResponse, including one persisted from an earlier session; no live connection is needed. Persistcacheand rehydrate withnew MintInfo(stored). Accessors return snapshots, never internal references.