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.
Parameter Helper (Auto-encoder)
ABI-encoded parameters as a single hex string (no 0x prefix). Use the helper above or encode manually.
Balance Check
Allowance Check (transferFrom)
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
Enter your Tatum API key (required).
Select a token preset (e.g., USDT) or paste a contract address.
Enter the owner address (the wallet that will execute the call).
Select or type the function selector (e.g., transfer(address,uint256)).
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”.
(Optional) Click “Check Balance” to verify the owner has sufficient tokens.
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.