Contract Logs
contract-logsRecent event logs for any contract on Base over a bounded recent window (reads eth_getLogs). Optionally filter by topic0 (event signature hash). Returns up to 50 logs with block, tx hash, topics and data. Window is limited by the RPC log-range quota. Use this for generic event queries not covered by whale-wallet-tracker or token-deploy-radar. Price: 0.0050 USDC per call (premium: always paid).
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": {
"address": "<address>"
},
"name": "contract-logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic0 | No | Optional 32-byte event signature hash (0x...) to filter by | |
| address | Yes | Contract address (0x...) to read logs from | |
| windowBlocks | No | Blocks to scan (10-120, default 100) |