bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Function getBalanceAfterTransfer

    • Returns the post balance after a transfer of x(amountToTransfer * numRecipients) from startTokenId to endTokenId

      Type Parameters

      Parameters

      • balance: iBalance<T>[]

        The balance to subtract from.

      • startTokenId: T

        The start token ID to subtract from.

      • endTokenId: T

        The end token ID to subtract from.

      • ownershipTimeStart: T
      • ownershipTimeEnd: T
      • amountToTransfer: T

        The amount to subtract.

      • numRecipients: T

        The number of recipients to subtract from.

      • OptionalallowUnderflow: boolean

      Returns BalanceArray<T>