# General Data

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. Returning values for a user interface
2. Asynchronous triggers with data
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.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bancor.network/developer-guides/data-and-events/general-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
