get_logs
Retrieve contract event logs from 23 EVM chains using eth_getLogs. Requires API key or x402 payment (~$0.001 per call).
Instructions
Fetch contract event logs (eth_getLogs). Heavy method: needs NODEFLARE_API_KEY or an x402 wallet (X402_PRIVATE_KEY) — costs ~$0.001 via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain slug, e.g. 'eth', 'base', 'robinhood' | |
| topics | No | Topic filters | |
| address | No | Contract address filter | |
| toBlock | Yes | Hex block number or tag | |
| fromBlock | Yes | Hex block number or tag, e.g. '0x112a880' or 'latest' |