Docs

eth_getLogs - Manta RPC Method

Query event logs on Manta Pacific. Essential for indexing ZK-enabled DeFi, private identity verification, and modular ZK applications via Universal Circuits on the modular ZK L2 with Celestia DA delivering the lowest fees for 200+ dApps.

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

Why Manta? Build on the modular ZK L2 with Celestia DA delivering the lowest fees for 200+ dApps with first L2 on Celestia mainnet, ZK-as-a-Service via Universal Circuits, Polygon CDK integration, and modular OP Stack architecture.

Use Cases

The eth_getLogs method is essential for:

  • Event indexing - Track contract events for ZK-enabled DeFi, private identity verification, and modular ZK applications via Universal Circuits
  • 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