• Estimates the energy required for a TRC20 transfer transaction on Tron.

    Async

    Function

    tronEstimateTrc20TransferEnergy

    Returns

    • A Promise that resolves to the result of the constant contract trigger for estimating the energy required, or null if estimation fails.

    Parameters

    • tronWeb: any

      The TronWeb instance.

    • trc20Address: string

      The TRC20 token address.

    • amount: BigNumber

      The amount to transfer.

    • trc20DestinationWallet: string

      The TRC20 destination wallet address.

    • releaseAccountAddress: string

      The release account address.

    Returns Promise<null | TronTriggerConstantContractResult>

Generated using TypeDoc