Question:
How to query past events and filter their time range?
Author: kotrotkoAnswer:
We can query past events using getPastEvents, and use the filters fromBlock and toBlock to give Solidity a time range for the event logs ("block" in this case referring to the Ethereum block number).
0 / 5 Â (0 ratings)
1 answer(s) in total