Find past events in ethers js
Posted on Thu 08 December 2022 in tech
Although there are examples of getting events from a particular transaction using ethers js. I found it fairly difficult to find an example that searches for events from a particular block or transaction. Here is a code to do just that: