Update Auto Sell Setting
tronsave_update_auto_sell_settingUpdate existing auto-sell settings with partial fields for incremental changes. Requires a wallet signature and overwrites stored automation settings for the current user.
Instructions
Update the existing auto-sell configuration with partial fields. Returns the updated autoSettings payload. Side effect: overwrites stored automation settings for the current user; not idempotent across different field sets. Requires a wallet signature identity. Use for INCREMENTAL changes after registration; read the baseline via tronsave_get_user_auto_setting to avoid accidental resets, and use tronsave_register_auto_sell only for first-time setup. Fails for invalid field combinations, unauthorized sessions, or policy constraints.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poolSetting | No | ||
| addOnFeature | No | ||
| paymentConfig | No |
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`. |