place_market_order
Ask the user to approve a market swap of amount tokenIn → tokenOut at the best current route. Returns an approval link, not a fill: the user signs in the Epsilon app. Use get_quote first to tell the user what to expect. For a price-conditional order use place_limit_order or place_stop_order. Amounts are HUMAN units.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | optional one-line reason shown to the user on the approval page (≤ 140 chars) | |
| amount | Yes | amount of tokenIn in HUMAN units, decimal string (e.g. "50" USDG, "0.25" WETH) — not raw units | |
| tokenIn | Yes | ERC-20 address being sold (0x-hex); resolve symbols with search_tokens first | |
| tokenOut | Yes | ERC-20 address being bought (0x-hex) | |
| slippageBps | No | slippage tolerance in basis points (default 100 = 1%, max 5000) |