> For the complete documentation index, see [llms.txt](https://docs.wander.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wander.app/wander-connect/event-callbacks.md).

# Event Callbacks

## `onAuth(authInfo: AuthInfo)`

Callback function called when authentication state changes.

## `onBackup(backupInfo: BackupInfo)`&#x20;

Callback function called when the user needs or performs backups.

## `onOpen()`&#x20;

Callback function called when the wallet interface is opened.

## `onClose()`&#x20;

Callback function called when the wallet interface is closed.

## `onResize()`&#x20;

Callback function called when the wallet interface is resized.

## `onBalance()`&#x20;

Callback function called when the balance information changes.

## `onRequest()`&#x20;

Callback function called when wallet receives a request.
