Use this file to discover all available pages before exploring further.
Returns an array of all logs matching a given filter object. Particularly useful for indexing on-chain events.
Queries spanning large block ranges or high-activity contracts can time out or be rejected. Keep fromBlock-to-toBlock ranges under 2,000 blocks for reliable results. Node providers may enforce their own limits.
Flashblocks: Set "fromBlock": "pending" and "toBlock": "pending" on a https://mainnet-preconf.base.org endpoint to query logs from pre-confirmed transactions, updated every ~200ms. For a real-time stream, consider the pendingLogs WebSocket subscription instead.
Start of the block range. Block number in hex or a block tag. Use "pending" on a Flashblocks endpoint to include pre-confirmed logs. Defaults to "latest".
Array of 32-byte topic filters. Each position can be null (match any), a single topic hex string, or an array of hex strings (match any in the array). Position 0 is typically the keccak256 hash of the event signature. Optional.