estimate_transaction_cost
Calculate TRON transaction costs by estimating energy and bandwidth requirements. Compare resource rental versus TRX burn pricing to optimize fees before executing transfers or smart contract calls.
Instructions
Estimate energy and bandwidth cost for a TRON transaction. Compares rental vs burn cost. No auth required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Transaction type. | |
| from_address | No | Sender TRON address. | |
| to_address | No | Recipient TRON address. | |
| token_address | No | TRC20 contract address. | |
| amount | No | Token amount (as string). | |
| contract_address | No | Contract address (custom). | |
| function_selector | No | Function selector (custom). | |
| parameter | No | ABI-encoded parameter (custom). |