TRON - Estimate Fee and FeeLimit for TRX, TRC10 and TRC20

Modified on Tue, 08 Aug 2023 at 11:13 AM

Transaction fees on the Tron network are calculated based on energy, bandwidth, and transaction type.


How Tron fees are calculated

  • Normal TRX transactions cost bandwidth points. Users can access the free daily bandwidth points (5000) or freeze their TRX to gain more. When bandwidth points aren’t enough, TRX will be given directly from the sending account. Required TRX is the number of bytes * 10 SUN. (1 TRX = 1,000,000 SUN).
  • Smart contracts cost energy but need bandwidth points to broadcast and confirm the transaction. The bandwidth cost is the same as above. 
  • Query transactions are free since they don’t cost energy or bandwidth.


Sending TRC-10, TRC-20 (like Tether USDT), and "FAILED - Out of Energy"

Sending Tokens over the Tron network has a higher price in energy. 


Good to know:

  • Tron's latest governance proposal increased the price of energy.
  • Make sure you have at least 50 TRX on your available balance to pay for network fees.


The FeeLimit for TRC10 and TRC20 tokens over Tron is a complex parameter to calculate.



You can get an approximate idea about the FeeLimit via the following RPC query example:


curl --location 'https://api.tatum.io/v3/blockchain/node/tron-mainnet/wallet/getchainparameters' \
--header 'x-api-key: ##Mainnet_API_KEY'
//response:
{
    "chainParameter": [
        {
            "key": "getMaintenanceTimeInterval",
            "value": 21600000
        },
        {
            "key": "getAccountUpgradeCost",
            "value": 9999000000
        },
        {
            "key": "getCreateAccountFee",
            "value": 100000
        },
        {
            "key": "getTransactionFee", // The value we are looking for
            "value": 1000
        },
...



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article