estimate-swap
Calculate token swap outcomes on Osmosis blockchain by specifying pool ID, input and output tokens, and swap amount. Ideal for precise transaction planning.
Instructions
Estimates the result of a token swap
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | Amount to swap | |
poolId | Yes | The ID of the liquidity pool | |
tokenIn | Yes | Input token denomination | |
tokenOut | Yes | Output token denomination |