Skip to content

Sorts and merges balances. Precondition that all tokenIds and ownershipTimes are non-overlapping.

sortAndMergeBalances<T>(balances): iBalance<T>[]

Defined in: packages/bitbadgesjs-sdk/src/core/balances.ts:835

Sorts and merges balances. Precondition that all tokenIds and ownershipTimes are non-overlapping.

Type Parameters

T

T extends NumberType

Parameters

balances

iBalance<T>[]

The balances to sort and merge.

Returns

iBalance<T>[]

Edit this page on GitHub