chain_event_logs
$0.005 via x402: raw event logs by contract address and/or indexed topics over a block range (eth_getLogs) — the indexing primitive. Defaults to a 25-block window and narrows automatically when a node refuses on result size, and every cap or narrowing that bit is named in the response instead of silently applied. Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis.
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": "chain_event_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base|ethereum|optimism|arbitrum|polygon|gnosis (default base) | |
| topic0 | No | Event signature topic (32-byte 0x...) | |
| topic1 | No | ||
| topic2 | No | ||
| topic3 | No | ||
| address | No | Contract address to filter on (0x...) | |
| toBlock | No | ||
| fromBlock | No | ||
| x_payment | No |