Smart-account: swap tokens
fuse_smart_swap_tokensSubmits an ERC-4337 UserOperation executing a swap on Fuse via the Fusebox trade engine. Quote a swap first with fuse_get_trade_quote to preview the route.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exactIn | No | `true` (default) treats `inputAmount` as sell amount; `false` treats it as buy amount. | |
| inputToken | Yes | Address of the token being sold. | |
| inputAmount | Yes | Amount in base units (wei for 18-decimal tokens). | |
| outputToken | Yes | Address of the token being bought. |