place_trailing_order
Ask the user to approve a trailing stop: sell amount tokenIn for tokenOut when price drops trailPercent below its running high since placement. Keeper-executed after signing; always returns an approval link — trailing stops are never executed under an agent grant. For a fixed level use place_stop_order. HUMAN units.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | optional one-line reason shown to the user (≤ 140 chars) | |
| amount | Yes | amount of tokenIn to sell, HUMAN units, decimal string | |
| tokenIn | Yes | ERC-20 address being protected / sold when the trail triggers (0x-hex) | |
| tokenOut | Yes | ERC-20 address received (0x-hex), usually USDG | |
| expiresIn | No | optional lifetime like 7d, 30d; default 7d | |
| slippageBps | No | slippage tolerance for the fill in basis points (default 100) | |
| trailPercent | Yes | distance below the running high that triggers the sell, in percent (e.g. 5 = 5%); 0.1–99 |