Skip to content

Hooks

React hooks for authentication, wallet management, and UI control.

Authentication

HookDescription
useUserCurrent user and access token
useEmailAuthEmail/password authentication
useOAuthOAuth provider authentication
useGuestAuthGuest authentication
useWalletAuthSIWE wallet authentication
useAuthCallbackOAuth and email verification callbacks
useSignOutSign out and clear session

Wallets

HookDescription
useWalletsWallet management and switching
useWalletAssetsWallet token balances

Permissions

HookDescription
useGrantPermissionsGrant session key permissions (EIP-7715)
useRevokePermissionsRevoke session key permissions
use7702AuthorizationSign EIP-7702 authorizations

UI

HookDescription
useUIModal control and navigation