fee

package
v1.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL