So i have a simple smart contract that sends an event whenever a function is called, something like this:
event DidSomething(uint taskId);
function doSomething(uint _taskId) {
taskId = _taskId;
emit DidSomething(taskId);
}
So only for this particular smart contract I would like to retrieve all transactions that result in this particular function being called. What would be the best way to do this. Seems the etherscan API is insufficient to fulfill this type of query.
Right now i go to etherscan -> using contract address go to contract page -> under events tab i can see what functions are being invoked as shown by the method signatures