eth_getLogs

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

🚧

Log Limits

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

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

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