place_dca_order
Ask the user to approve a DCA program: sell amount of tokenIn for tokenOut in executions equal slices, one every every (15m, 1h, 1d…). Optionally gated by triggerPrice (only sells at or below it). Keeper-executed after signing; always returns an approval link — DCA is never executed under an agent grant. HUMAN units; amount is the TOTAL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | optional one-line reason shown to the user (≤ 140 chars) | |
| every | Yes | interval between sells like 15m, 1h, 1d (minimum 1m) | |
| amount | Yes | TOTAL amount of tokenIn across the whole program, HUMAN units, decimal string | |
| tokenIn | Yes | ERC-20 address being sold in slices (0x-hex) | |
| tokenOut | Yes | ERC-20 address being accumulated (0x-hex) | |
| executions | Yes | number of sells, 2–500; each sells amount/executions | |
| slippageBps | No | slippage tolerance per execution in basis points (default 100) | |
| triggerPrice | No | optional: only sell while price is at or below this (tokenOut per tokenIn); omit to sell every interval regardless | |
| pauseOnRecovery | No | with triggerPrice: pause the program while price is back above the trigger |