# Supported events

> Events from [TON Connect](https://docs.ton.org/develop/dapps/ton-connect/overview) will be sent only if `@tonconnect/ui-react@2.0.3` or `@tonconnect/ui@2.0.3` or  `@tonconnect/sdk@3.0.3`  and higher versions packages are used

<table data-full-width="false"><thead><tr><th width="341">event_name</th><th width="195">description</th><th data-type="checkbox">TON Connect required</th><th data-hidden></th></tr></thead><tbody><tr><td><code>app-init</code></td><td>connection attempts and their initiation</td><td>false</td><td></td></tr><tr><td><code>app-hide</code></td><td>hiding the app from the screen</td><td>false</td><td></td></tr><tr><td><code>custom-event</code></td><td>the event specified by the user</td><td>false</td><td></td></tr><tr><td><code>connection-started</code></td><td>the user starts connecting the wallet</td><td>true</td><td></td></tr><tr><td><code>connection-completed</code></td><td>successful connection to a wallet</td><td>true</td><td></td></tr><tr><td><code>connection-error</code></td><td>errors in connection specifying reasons (e.g., user cancelled)</td><td>true</td><td></td></tr><tr><td><code>connection-restoring-completed</code></td><td>the connection was restored successfully</td><td>true</td><td></td></tr><tr><td><code>connection-restoring-error</code></td><td>connection restoration failed</td><td>true</td><td></td></tr><tr><td><code>transaction-sent-for-signature</code></td><td>the user submits the transaction for signature</td><td>true</td><td></td></tr><tr><td><code>transaction-signed</code></td><td>the user successfully signs the transaction</td><td>true</td><td></td></tr><tr><td><code>transaction-signing-failed</code></td><td>the user cancels the transaction signature or an error occurs during the signing process</td><td>true</td><td></td></tr><tr><td><code>disconnection</code></td><td>user-initiated disconnection events, specifying scope (dapp or wallet)</td><td>true</td><td></td></tr></tbody></table>


---

# 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.tganalytics.xyz/supported-events.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.
