Is there a way to watch current or filter past function calls with their names in web3 or ethers, just like we can view past events using getPastEvents
in web3?
I want to fetch only the transactions where a certain function is called within past few blocks or set a watcher for that function if possible.