chain_v3_tick_math
Uniswap v3 tick math — Offline Uniswap v3/v4 concentrated-liquidity math: convert between tick, sqrtPriceX96 and human price (token1 per token0, decimal-adjusted). Give ONE of tick=, price= or sqrt_price_x96= plus decimals0= and decimals1= (default 18); fee= 100|500|3000|10000 (default 3000) sets tick spacing for nearestUsableTick and the containing range with its price bounds. Example tick=196240 with USDC(6)/WETH(18) = about 3005 USDC per ETH. Price: $0.001 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": {
"tick": "<tick>",
"decimals0": "<decimals0>",
"decimals1": "<decimals1>"
},
"name": "chain_v3_tick_math"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tick | Yes | 196240 | |
| decimals0 | Yes | 6 | |
| decimals1 | Yes | 18 |