get_price_impact
Calculate the price impact of a crypto trade on any EVM network. Input sell token, buy token, and amount in wei to determine slippage before swapping.
Instructions
Calculate the price impact for a given trade size
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |
| tokenIn | Yes | Address of the token to sell | |
| amountIn | Yes | Amount of input token (in wei) | |
| tokenOut | Yes | Address of the token to buy |