estimate_energy
Estimate energy consumption for a TRON smart contract call before execution, preventing failed transactions and unexpected fees.
Instructions
Estimate energy consumption for a smart contract call (simulation).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | Yes | Contract ABI (required for encoding) | |
| args | No | Function arguments | |
| address | Yes | Contract address | |
| network | No | Network name. Defaults to mainnet. | |
| functionName | Yes | Function name to call | |
| ownerAddress | No | Caller address for simulation. Defaults to configured wallet. |