eth_getLogs - Ronin RPC Method
Query event logs on Ronin. Essential for indexing blockchain gaming (Axie Infinity, Pixels), gaming NFT marketplaces, and in-game token economies on the gaming-first blockchain with 1M+ daily active wallets and $6.47B in NFT trading volume.
Returns an array of all logs matching a given filter object on Ronin.
Why Ronin? Build on the gaming-first blockchain with 1M+ daily active wallets and $6.47B in NFT trading volume with purpose-built for gaming with $1.3B+ Axie revenue, zkEVM upgrade planned, Katana DEX, and Tama fair launch platform.
Use Cases
The eth_getLogs method is essential for:
- Event indexing - Track contract events for blockchain gaming (Axie Infinity, Pixels), gaming NFT marketplaces, and in-game 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 Ronin. Essential for reading contract state for blockchain gaming (Axie Infinity, Pixels), gaming NFT marketplaces, and in-game token economies.
eth_newFilter
Create an event log filter on Ronin. Essential for event monitoring, contract activity tracking, and DeFi event streaming for blockchain gaming (Axie Infinity, Pixels), gaming NFT marketplaces, and in-game token economies.