Hooks
React hooks for authentication, wallet management, and UI control.
Authentication
| Hook | Description |
|---|---|
useUser | Current user and access token |
useEmailAuth | Email/password authentication |
useOAuth | OAuth provider authentication |
useGuestAuth | Guest authentication |
useWalletAuth | SIWE wallet authentication |
useAuthCallback | OAuth and email verification callbacks |
useSignOut | Sign out and clear session |
Wallets
| Hook | Description |
|---|---|
useWallets | Wallet management and switching |
useWalletAssets | Wallet token balances |
Permissions
| Hook | Description |
|---|---|
useGrantPermissions | Grant session key permissions (EIP-7715) |
useRevokePermissions | Revoke session key permissions |
use7702Authorization | Sign EIP-7702 authorizations |
UI
| Hook | Description |
|---|---|
useUI | Modal control and navigation |