Note: OutputData helpers only require keyset id and keys. If you want richer keyset typing at the call site, use OutputDataLike<YourType>.
id
keys
OutputDataLike<YourType>
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:
HasKeysetKeys
AmountLike
export type OutputDataFactory = (amount: AmountLike, keys: HasKeysetKeys) => OutputDataLike;
Note: OutputData helpers only require keyset
idandkeys. If you want richer keyset typing at the call site, useOutputDataLike<YourType>.