ListenToAll
Create a new subscription to listen to all new events on a smart contract.
The action to be executed when the event is triggered.
It receives a ContractEvent
object as a parameter that contains the event data to
be used within the logic of the action.