Buy Energy
buy_energyPurchase TRON Energy for a target address to execute transactions on the TRON network. Specify transaction count, type, and duration to create a market order filled by available pools.
Instructions
Purchase TRON Energy for a target address. Creates a MARKET order that will be filled by available pools. Deducts cost from your balance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetAddress | Yes | TRON address to delegate energy to (T-address format) | |
| txCount | Yes | Number of transactions you need energy for | |
| txType | No | Transaction type (default: trc20_transfer) | |
| durationMinutes | No | Duration in minutes. Allowed: 2, 5, 10, 15, 30, 60, 360, 1440, 10080, 43200. Default: 60. | |
| resourceType | No | Resource type (default: ENERGY) |