create_standing_order
Set up automated TRON resource orders triggered by price changes, schedules, or low balances. Define budgets and execution limits to purchase energy, ensure bandwidth, or get notified.
Instructions
Create a server-side standing order with trigger-based automation. Auth required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"trigger_type": "<trigger_type>",
"trigger_params": "<trigger_params>",
"action_type": "<action_type>",
"action_params": "<action_params>",
"budget_trx": "<budget_trx>",
"max_executions": "<max_executions>"
},
"name": "create_standing_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trigger_type | Yes | Condition that triggers the order. | |
| trigger_params | Yes | Trigger parameters: { resource, threshold_sun } or { cron }. | |
| action_type | Yes | Action to perform when triggered. | |
| action_params | Yes | Action parameters: { resource_type, amount, duration_sec, target_address }. | |
| budget_trx | Yes | Maximum budget in TRX (converted to SUN internally). | |
| max_executions | Yes | Maximum number of times this order can execute. | |
| expires_at | No | ISO 8601 expiration date (optional). |