Estimate Cost
estimate_costCalculate the cost of purchasing TRON Energy or Bandwidth for a given number of transactions. Specify transaction type and resource to get the energy needed and cost in TRX.
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 |
|---|---|---|---|
| txType | No | Transaction type (default: trc20_transfer). trc20_transfer_new = first-time transfer to an address. | |
| txCount | Yes | Number of transactions | |
| resourceType | No | Resource type (default: ENERGY) | |
| durationMinutes | No | Duration in minutes. Allowed: 2, 5, 10, 15, 30, 60, 360, 1440, 10080, 43200. Default: 60. |