StaticcreateOptionalcustomSplit: number[]StaticcreateOptionalcustomSplit: number[]StaticcreateOptionalcustomSplit: number[]StaticcreateStaticcreateStaticcreateStaticsumCalculates the sum of amounts in an array of OutputDataLike objects.
Array of OutputDataLike objects.
The total sum of amounts.
Note: OutputData helpers only require keyset
idandkeys. If you want richer keyset typing at the call site, useOutputDataLike<YourType>.Remarks
WARNING: In v4 we may simplify this further by fixing the keyset type to
HasKeysetKeysand removing the generic.