USD price of any token on Base by contract address, read live from the deepest Uniswap v3 pool (against USDC or WETH): p
base_token_priceRead-onlyIdempotent
USD price of any token on Base by contract address, read live from the deepest Uniswap v3 pool (against USDC or WETH): price, pool, fee tier, liquidity and the other pools quoted for comparison (token=0x...). For trading, portfolio and risk agents that need a price without a data-vendor key. Pay per call $0.01 USDC on Base via x402.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "base_token_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | ERC-20 token address on Base, 0x... | |
| x_payment | No | signed x402 payment (X-PAYMENT header value); omit on the first call to receive the price and payment requirements |