ensure_resources
Provision TRON resources declaratively by checking current energy and bandwidth levels and purchasing only missing amounts. Prevents over-provisioning through aggregated provider routing to meet specified minimums.
Instructions
Declarative resource provisioning. Checks current resources on target address and purchases only what is missing. Auth required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_address | Yes | TRON address to provision resources for. | |
| energy_minimum | No | Minimum energy the address should have. | |
| bandwidth_minimum | No | Minimum bandwidth the address should have. | |
| duration_sec | No | Rental duration in seconds (default: 3600). |