Skip to main content
Glama

Uniswap v3 pool candles on Base (x402)

Price candles (OHLC and swap volume) for any Uniswap v3 pool on Base, computed from on-chain Swap logs: open, high, low,

pool_candles
Read-onlyIdempotent

Price candles (OHLC and swap volume) for any Uniswap v3 pool on Base, computed from on-chain Swap logs: open, high, low, close per 1-60 minute bucket over the last 100-5000 blocks, with token addresses and decimals (pool=0x..., interval=5, blocks=2000; default WETH/USDC). For trading and market-making agents that need a chart without a data-vendor key. Pay per call $0.05 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": "pool_candles"
  }
}

Input Schema

NameRequiredDescriptionDefault
poolNoUniswap v3 pool address on Base, 0x..., default WETH/USDC
blocksNohow many recent blocks, 100-5000, default 2000 (about 2 s each)
intervalNocandle size in minutes, 1-60, default 5
x_paymentNosigned x402 payment (X-PAYMENT header value); omit on the first call to receive the price and payment requirements

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources