post https://{network}.g.alchemy.com/v2/
Returns an array of all logs matching a given filter object.
Don’t have an API key?
Start using this API in your app today.
Use cases for eth_getLogs
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 the Subscription API 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.