Docs

eth_getLogs - Viction RPC Method

Query event logs on Viction. Essential for indexing gasless token operations, consumer-friendly dApps, and cost-free user onboarding on the zero-gas L1 blockchain making Web3 accessible with 150 masternodes and VRC25 gasless tokens.

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

Why Viction? Build on the zero-gas L1 blockchain making Web3 accessible with 150 masternodes and VRC25 gasless tokens with zero-gas transactions via TomoZ, VRC25 gasless token standard, 150 masternodes, and partnerships with LayerZero and MoonPay.

Use Cases

The eth_getLogs method is essential for:

  • Event indexing - Track contract events for gasless token operations, consumer-friendly dApps, and cost-free user onboarding
  • 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