Docs

eth_getLogs - Arbitrum RPC Method

Query event logs on Arbitrum. Essential for indexing high-volume DeFi (GMX, Uniswap, Aave), gaming, and cross-chain applications on Ethereum's leading Layer 2 with 46% L2 market share and $12B+ TVL.

Returns an array of all logs matching a given filter object on Arbitrum.

Why Arbitrum? Build on Ethereum's leading Layer 2 with 46% L2 market share and $12B+ TVL with full EVM compatibility, 1.5M daily transactions, and $3B+ DAO treasury for ecosystem growth.

Use Cases

The eth_getLogs method is essential for:

  • Event indexing - Track contract events for high-volume DeFi (GMX, Uniswap, Aave), gaming, and cross-chain applications
  • 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 CodeMessageDescription
-32005Query returned more than 10000 resultsReduce block range
-32602Invalid paramsInvalid filter parameters