I created simple monitor to check a contract and its latest transactions. I know I can get this information by getting latest block like:
block = await this.web3.eth.getBlock("latest");
and later on check if receiver is the same as contract that I am monitoring.
But I would like to get history of that contract for example last 24 hours and see what transactions were made there. Is it possible to do that and if yes how can I achieve that?