Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SumFallbackFeeAmounts ¶
func SumFallbackFeeAmounts(customFees asset.CustomFees) asset.CustomFeeTotalAmounts
SumFallbackFeeAmounts sums fallback fees in HBAR and by token ID Returns the sum of the fallback fees in HBAR and by token ID
func TotalFeeFromTransfers ¶
func TotalFeeFromTransfers(transfers []model.Hedera, receiver hedera.AccountID) (totalFee string, hasReceiver bool)
TotalFeeFromTransfers sums the positive amounts of transfers, excluding the receiver transfer Returns the sum and whether the receiver transfer has been found
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.