Comment on page

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:
  1. 1.
    Returning values for a user interface
  2. 2.
    Asynchronous triggers with data
  3. 3.
    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.