# Retrieve function calls on a smart contract

So i have a simple smart contract that sends an event whenever a function is called, something like this:

event DidSomething(uint taskId);