Register Auto Sell
tronsave_register_auto_sellCreate the initial auto-sell configuration for the authenticated user. Returns the persisted autoSettings payload. Side effect: persists automation settings that affect future delegation/sell behavior; not idempotent — calling twice may reset fields. Requires a wallet signature identity. Use for FIRST-TIME setup only; for subsequent edits use tronsave_update_auto_sell_setting, and always read the current state with tronsave_get_user_auto_setting first to avoid overwriting unknown fields. Fails for invalid config combinations, unauthorized sessions, or backend policy restrictions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tronsave_register_auto_sell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poolSetting | No | What the wallet sells automatically: per-resource price floor, duration bounds, minimum amount, reserve, and reclaim scope. | |
| addOnFeature | No | Optional extras: voting, auto-stake of idle TRX, suggest-sell hints. | |
| paymentConfig | No | Where and how often seller earnings are paid out (address, DAILY/IMMEDIATE, payout window). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | GraphQL mutation status code (HTTP-like; `0`/`200` indicates success). Always pair with `success` for routing. | |
| data | No | Opaque server-defined payload (tx id, setting id, or status text). Treat as identifier-or-message; rely on `message` for human routing. | |
| message | No | Human-readable status text. Populated even on success; localized error messages may appear here on failure. | |
| success | No | Whether the mutation succeeded at the backend level. Always check this before reading `data`. |