Cashu-TS - v3.7.2
    Preparing search index...

    Type Alias OutputDataFactory<TKeyset>

    OutputDataFactory: (amount: number, keys: TKeyset) => OutputDataLike<TKeyset>

    Note: OutputData helpers only require keyset id and keys. If you want richer keyset typing at the call site, use OutputDataLike<YourType>.

    Type Parameters

    Type Declaration

    WARNING: In v4 we will fix the keyset type to HasKeysetKeys and remove the generic. Likewise, we will change amount to AmountLike. v4 shape will be:

    export type OutputDataFactory = (amount: AmountLike, keys: HasKeysetKeys) => OutputDataLike;