get_pool_liquidity
Fetch current liquidity and approximate USD value for Uniswap V3 pools on Base mainnet to analyze trading pair availability and market depth.
Instructions
Fetch the current liquidity (TVL) for a Uniswap V3 pool on Base mainnet. Reads the liquidity() value from the pool contract and computes an approximate TVL in USD using the current spot price. Returns liquidity_raw (the pool's active liquidity scalar), tvl_usd_approx, pool address, fee tier, and token symbols. tvl_usd_approx is a rough estimate based on the symmetric liquidity assumption — accurate TVL requires full tick range analysis. No caching — each call reads live on-chain data. Free tier — no payment required. Use list_trading_pairs first to discover available pools, and get_dex_price for the current price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Trading pair identifier (e.g. 'ETH/USDC'). Use list_trading_pairs to see all available pool addresses and fee tiers. Available: ETH/USDC, ETH/USDT, WETH/DAI, USDC/USDbC, cbETH/WETH. |