chain_v4_pool
Uniswap v4 pool state — Live Uniswap v4 pool state straight from the StateView contract on base, ethereum, arbitrum, optimism or polygon: poolId (keccak of the PoolKey), sqrtPriceX96, tick, mid price both ways, active liquidity, LP and protocol fee. Without fee it checks all four standard tiers (0.01/0.05/0.3/1%) and ranks pools by liquidity. Required: chain, token0, token1 (0x address, ETH for native, or a common symbol). Optional: fee (e.g. 3000), tick_spacing, hooks (0x hook contract). Price: $0.003 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>",
"token0": "<token0>",
"token1": "<token1>"
},
"name": "chain_v4_pool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | base | |
| token0 | Yes | ETH | |
| token1 | Yes | USDC |