Recent swaps of a Uniswap v3 pool on Base, newest first: estimated time, buy or sell direction, token amounts, execution
uniswap_recent_swapsRecent swaps of a Uniswap v3 pool on Base, newest first: estimated time, buy or sell direction, token amounts, execution price and transaction hash for up to 50 swaps (pool=0x..., count=20; default WETH/USDC). The raw trade tape for trading and market-making agents, read from on-chain Swap logs. Pay per call $0.02 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": "uniswap_recent_swaps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | No | Uniswap v3 pool address on Base, 0x..., default WETH/USDC | |
| count | No | how many swaps, 1-50, default 20 | |
| x_payment | No | signed x402 payment (X-PAYMENT header value); omit on the first call to receive the price and payment requirements |