eth_getLogs - Polygon PoS

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


Log Limits

You can make eth_getLogs requests on any block range with a cap of 10K logs in the response OR a 2K block range with no cap on logs in the response and 150MB limit on the response size

If you need to pull logs frequently, we recommend using WebSockets to push new logs to you when they are available.


Understanding Logs

Want to understand how logs and events work on the EVM? Check out this guide: Understanding Logs: Deep Dive into eth_getLogs

Click Try It! to start a request and see the response here!