base: baseSwapQuote
baseSwapQuoteQuote an exact-input Base swap. The sellAmount may be sell-token units, a USD budget such as '$5', or 'max'. Returns a normalized conditionalOrderHandoff for explicit entry or exit orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sellAmount | Yes | How much of the SELL token to spend. Use a decimal string for sell-token units (e.g. '0.01' means 0.01 ETH), '$5' or '5 usd' for a USD budget, or 'max'. Never convert a user's USD budget yourself. | |
| buyTokenAddress | No | Base address of the token being received (BUY token) | |
| sellTokenAddress | No | Base address of the token being spent (SELL token) |