estimate_contract_energy
Estimate energy consumption required for calling a smart contract function on TRON blockchain. Specify contract address, function name, and parameters to get accurate energy usage.
Instructions
Estimate energy consumption for smart contract interaction using TRON node
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_contract_energy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feeLimit | No | Fee limit in SUN (optional, default: 100000000) | |
| parameters | No | Function parameters | |
| functionName | Yes | Function name to call | |
| callerAddress | No | Address of the caller (optional) | |
| contractAddress | Yes | Smart contract address |