General Data
Using data to trigger events from a smart contract
Events are triggered to communicate between smart contract transactions and user interfaces.
By connecting DApps to Ethereum JSON-RPC API, you can listen to events to trigger specific actions. Events can be used in different ways:
Returning values for a user interface
Asynchronous triggers with data
A cheaper form of storage
The information is communicated from a smart contract event to a user interface via logs. Logs are helpful for debugging smart contracts and for making analytics dashboards.
Last updated