Estimate Cost
estimate_costCalculate TRON Energy or Bandwidth purchase costs by specifying transaction count and type to determine required resources and TRX expenses.
Instructions
Calculate the cost of purchasing TRON Energy or Bandwidth. Provide transaction count and type to get the energy needed and cost in TRX.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txCount | Yes | Number of transactions | |
| txType | No | Transaction type (default: trc20_transfer). trc20_transfer_new = first-time transfer to an address. | |
| durationMinutes | No | Duration in minutes. Allowed: 2, 5, 10, 15, 30, 60, 360, 1440, 10080, 43200. Default: 60. | |
| resourceType | No | Resource type (default: ENERGY) |