Function getTxFees

  • Name

    getTxFees

    Summary

    Get the total fees for a transaction hex.

    Returns

    Total estimated fee which is the sum of the chain initial fee and the optional additional fee

    Parameters

    • txHex: `0x${string}`

      Hex of the transaction

    • address: string

      Public address of the sender

    Returns Promise<BN>

Generated using TypeDoc