Skip to content

Given some transfers (potentially incremented), return the balance map to store as a JSON for a collection with off-chain balances.

createBalanceMapForOffChainBalances<T>(transfersWithIncrements): OffChainBalancesMap<T>

Defined in: packages/bitbadgesjs-sdk/src/core/transfers.ts:229

Given some transfers (potentially incremented), return the balance map to store as a JSON for a collection with off-chain balances.

Type Parameters

T

T extends NumberType

Parameters

transfersWithIncrements

iTransferWithIncrements<T>[]

Returns

OffChainBalancesMap<T>

Edit this page on GitHub