Live DEX price on Base
get_dex_priceLive DEX price of one token read onchain at one block from keldrin's verified pools (Uniswap v3, Aerodrome, Slipstream, plain Uniswap v4 vs USDC/WETH/ETH): price per token in USD, estimated 2% depth, the main (deepest usable) pool and every pool's status.
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": {
"token": "<token>"
},
"name": "get_dex_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Token contract address (0x…) or exact Coinbase symbol, e.g. NVDAc. Addresses are preferred. |