Access Fast, Reliable RPCs for Tron

Tatum gives you access to managed Tron nodes with load-balancing, smart-caching, and failovers.

Tron Energy Calculator

Get your key
Required to call Tatum's energy estimation API.
Auto Estimate Energy from Contract Call
The wallet address that will execute the contract call.
Select a popular token to auto-fill the contract address below.
The smart contract address to call. Will auto-fill if a token is selected above.
Select a common TRC20 function to auto-fill the function selector below.
Function name with parameter types. Will auto-fill if a function is selected above.
ABI-encoded parameters as a single hex string (no 0x prefix). Use the helper above or encode manually.

Frequently asked questions

Tron Energy Calculator Guide

The Tron Energy Calculator estimates the energy needed to execute smart contract calls on TRON (mainnet). You’ll need a valid Tatum API key to use it.

How to Use

  1. Enter your Tatum API key (required).
  2. Select a token preset (e.g., USDT) or paste a contract address.
  3. Enter the owner address (the wallet that will execute the call).
  4. Select or type the function selector (e.g., transfer(address,uint256)).
  5. If the function has parameters, use the Parameter Helper to:
    • Enter recipient address for address inputs.
    • Enter amounts in smallest units for uint256 (e.g., USDT: 1,000,000 = 1 USDT).
    • Click “Encode Parameters”.
  6. (Optional) Click “Check Balance” to verify the owner has sufficient tokens.
  7. Click “Estimate Energy” to view the energy required.

Important Notes

  • If you see CONTRACT_EXE_ERROR: REVERT, the call would fail on-chain (e.g., insufficient balance/allowance or invalid parameters). Fix the inputs and try again.
  • Amounts must be in smallest token units (pay attention to token decimals; USDT uses 6).
  • Encoding follows the Solidity ABI spec, which is compatible with TRON smart contracts.
  • Use the balance check to avoid revert errors before estimating energy.