Event name | Description | TON Connect required |
---|---|---|
app-init | Connection attempts and their initiation | false |
app-hide | Hiding the app from the screen | false |
custom-event | The event specified by the user | false |
connection-started | The user starts connecting the wallet | true |
connection-completed | Successful connection to a wallet | true |
connection-error | Errors in connection specifying reasons (e.g., user cancelled) | true |
connection-restoring-completed | The connection was restored successfully | true |
connection-restoring-error | Connection restoration failed | true |
transaction-sent-for-signature | The user submits the transaction for signature | true |
transaction-signed | The user successfully signs the transaction | true |
transaction-signing-failed | The user cancels the transaction signature or an error occurs during the signing process | true |
disconnection user-initiated | Disconnection events, specifying scope (dapp or wallet) | true |