dex.liquidity_slippage
Use this tool to calculate expected DEX price slippage, pool liquidity depth, and optimal routing before executing an on-chain token swap. GeckoTerminal-backed pool analytics with constant-product slippage estimation for the requested trade_size_usd, plus a slippage_tiers array with the same estimate at fixed $1,000/$5,000/$10,000 sizes so an agent can gauge depth at a glance without extra calls. Do not use for centralized exchange (CEX) orderbooks or contract risk analysis. Paid in USDC on Base.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | GeckoTerminal network id, e.g. base, eth. Defaults to base. | |
| pool_address | No | Specific DEX pool contract address (optional if token_address is given). | |
| token_address | No | Token contract address - the most liquid pool is auto-selected (optional if pool_address is given). | |
| trade_size_usd | Yes | Hypothetical trade size in USD to estimate slippage for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notice | No | ||
| network | Yes | ||
| pool_name | No | ||
| data_source | Yes | ||
| generated_at | Yes | ||
| pool_address | No | ||
| liquidity_usd | No | ||
| token_address | No | ||
| slippage_tiers | No | ||
| trade_size_usd | Yes | ||
| volume_24h_usd | No | ||
| price_impact_model | Yes | ||
| estimated_slippage_pct | No |