Function calculateTransactionFee

  • calculateTransactionFee() returns minimum fees needed for the transaction to be accepted by the network. If the transaction is invalid or the mass can not be calculated, the function throws an error. If the mass exceeds the maximum standard transaction mass, the function returns undefined.

    Parameters

    Returns bigint | undefined

Generated using TypeDoc