Closed lwgo2050 closed 6 years ago
Write Smart Constract like this Event.trigger(...),but how to listen the event? does there have method like solididy "event.watch()"?
you can use GetEventsByHash to fetch the event of this transaction. Or use Subscribe to subscribe for events of a specified event topic.
GetEventsByHash
Subscribe
Write Smart Constract like this Event.trigger(...),but how to listen the event? does there have method like solididy "event.watch()"?