estimate_energy
Calculate the energy consumption needed to execute a contract call on TRON. Provide contract address and function name for precise estimation.
Instructions
Estimate energy consumption for a contract call
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contractAddress": "<contractAddress>",
"functionName": "<functionName>"
},
"name": "estimate_energy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parameters | No | Function parameters | |
| functionName | Yes | Function name | |
| contractAddress | Yes | Smart contract address |