eth_getLogs - LISK RPC Method
Query event logs on LISK. Essential for indexing real-world asset tokenization, decentralized physical infrastructure (DePIN), and emerging market financial access on the first L1-to-Superchain L2 focused on real-world assets and emerging markets.
Returns an array of all logs matching a given filter object on LISK.
Why LISK? Build on the first L1-to-Superchain L2 focused on real-world assets and emerging markets with OP Stack Superchain integration, Gelato rollup-as-a-service, 500K OP grant, and LSK token migration from L1.
Use Cases
The eth_getLogs method is essential for:
- Event indexing - Track contract events for real-world asset tokenization, decentralized physical infrastructure (DePIN), and emerging market financial access
- Token transfers - Monitor ERC20/ERC721 transfers
- DeFi analytics - Track swaps, liquidity events, and more
- Notification systems - Alert on specific on-chain events
Code Examples
Error Handling
| Error Code | Message | Description |
|---|---|---|
| -32005 | Query returned more than 10000 results | Reduce block range |
| -32602 | Invalid params | Invalid filter parameters |
Related Methods
eth_newFilter- Create a filter for logseth_getFilterChanges- Poll filter for new logs
eth_call
Execute smart contract calls without creating transactions on LISK. Essential for reading contract state for real-world asset tokenization, decentralized physical infrastructure (DePIN), and emerging market financial access.
eth_newFilter
Create an event log filter on LISK. Essential for event monitoring, contract activity tracking, and DeFi event streaming for real-world asset tokenization, decentralized physical infrastructure (DePIN), and emerging market financial access.