estimate-swap
Calculate expected token amounts for swaps on Osmosis pools before executing transactions.
Instructions
Estimates the result of a token swap
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poolId | Yes | The ID of the liquidity pool | |
| tokenIn | Yes | Input token denomination | |
| tokenOut | Yes | Output token denomination | |
| amount | Yes | Amount to swap |