calculate_price_impact
Estimate the price impact of a token swap on KAYEN to avoid slippage. Provide the pool address, token, and amount.
Instructions
Calculate price impact for a swap on KAYEN
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenIn | Yes | Input token symbol or address | |
| amountIn | Yes | Amount to swap | |
| poolAddress | Yes | Liquidity pool address |