Token Spot Price
token-spot-pricePrice of ONE token: on-chain USD spot price for a single ERC-20 on Base, from the deepest Uniswap v3 pool vs USDC/WETH (slot0), with the pool/fee tier used and its USD depth. No off-chain feed; thin pools are easy to manipulate. To price MANY tokens at once, use multi-token-price instead (one cheaper call). Price: 0.0020 USDC per call (first call free).
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": {
"tokenAddress": "<tokenAddress>"
},
"name": "token-spot-price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenAddress | Yes | ERC-20 token contract address (0x...) on Base |