Docs

eth_getLogs - Avalanche RPC Method

Query event logs on Avalanche. Essential for indexing institutional RWA tokenization ($18B+ transfer volume), gaming subnets, and enterprise blockchains on the fastest smart contract platform with sub-second finality and customizable L1 subnets.

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

Why Avalanche? Build on the fastest smart contract platform with sub-second finality and customizable L1 subnets with sub-second finality, Evergreen subnets for institutions, and partnerships with Franklin Templeton, VanEck, and Bergen County.

Use Cases

The eth_getLogs method is essential for:

  • Event indexing - Track contract events for institutional RWA tokenization ($18B+ transfer volume), gaming subnets, and enterprise blockchains
  • 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