eth_getLogs - Zora RPC Method
Query event logs on Zora. Essential for indexing low-cost NFT minting, onchain media monetization, and creator-owned token economies on the creator-first L2 powering $353M+ in NFT trading volume with 179K+ active creators.
Returns an array of all logs matching a given filter object on Zora.
Why Zora? Build on the creator-first L2 powering $353M+ in NFT trading volume with 179K+ active creators with 0.000777 ETH minting fees, 50% creator royalty share, no-code NFT toolkit, and OP Stack Ethereum security.
Use Cases
The eth_getLogs method is essential for:
- Event indexing - Track contract events for low-cost NFT minting, onchain media monetization, and creator-owned token economies
- 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 Zora. Essential for reading contract state for low-cost NFT minting, onchain media monetization, and creator-owned token economies.
eth_newFilter
Create an event log filter on Zora. Essential for event monitoring, contract activity tracking, and DeFi event streaming for low-cost NFT minting, onchain media monetization, and creator-owned token economies.