Returns an array of all logs matching a given filter object. Returns logs which are records that denote/provide context on specific events within a smart contract, like a token transfer or a change of ownership for example.


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.


Passing an array of addresses

Passing an array of addresses is currently not supported on ethers.js, which is what the Alchemy SDK uses under the hood for core APIs. We expect this to be supported soon in a future release.
In the meantime, a workaround is to use CoreNamespace.send(), send a raw JSON-RPC request, and parse it manually.


Understanding Logs

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