# The difference between Events and Function Calls

At its core, not every function call emits an event. Smart contract developers specify when an event should be created and the information contained within. A function call is a transaction that calls a certain function of the smart contract. But it does not necessarily emit an event.

We recommend discussing with your smart contract developers or liaising with the Lossless team to determine which events and function calls merit monitoring. Some high-risk events are already automatically tracked as Potential Risks. Meanwhile, project teams may wish to monitor certain events and function calls for reasons beyond security, such as for testing or analytics.


---

# 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.lossless.io/aegis/triggers/the-difference-between-events-and-function-calls.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.
