Quote AETH to OSMO swap
quote_swapGet a read-only AETH-to-OSMO swap estimate on Osmosis testnet, including fees, price impact, and minOutput for your chosen slippage.
Instructions
Quote swapping AETH for OSMO in the AETH/OSMO pool on Osmosis testnet: the OSMO the swap would return after Osmosis's taker fee and the pool's fee, the price before the swap and the price it gets, what fees and price impact cost together, and a minOutput for a slippage you choose. Read-only: it reads Osmosis's own estimate and moves nothing. The pool is small and moves with every trade, so quote just before you swap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | the AETH to swap, with its unit: "1 AETH" or "1000000uaeth" | |
| slippagePercent | No | how far below this quote a swap may fill, for minOutput (default 1, at most 50) |