Get swap quote (Base)
get_swap_quoteIndicative price for swapping one token for another on Base via a DEX aggregator, including the 1% CoinFactory fee, aggregator fees, route, and the buy token's risk level. Read-only; builds nothing. Non-custodial: CoinFactory returns aggregator calldata only and never holds funds or keys; the taker wallet signs and broadcasts. A 1% CoinFactory fee plus aggregator fees and gas apply and are shown in the quote. Trades are irreversible. This is not financial advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taker | No | Optional wallet address, improves accuracy of balance/allowance issues | |
| buyToken | Yes | ||
| sellToken | Yes | 'ETH', a Base contract address, a symbol, or a CoinGecko id | |
| sellAmount | Yes | Amount of sellToken in human units, e.g. '0.5' | |
| slippageBps | No | Max slippage in bps (default 100, max 500) |