useWalletBinding
useWalletBinding(
options:object):UseWalletBindingResult
Defined in: src/react/useWalletBinding.ts:102
React hook for managing ZETA wallet bindings and reading staked-based Pro status. Provides methods to list bound wallets, request a binding nonce, bind a wallet with a signed proof, and unbind a wallet.
Parameters
| Parameter | Type | Description |
|---|---|---|
|
|
|
‐ |
|
|
|
Fetch the bound wallets on mount and when the session key changes (default: true). |
|
|
|
Optional base URL for the API requests. |
|
|
() => |
Custom function to get auth token for API calls |
|
|
( |
Optional callback for error handling |
|
|
|
A stable account or session ID, or null when the user is signed out. |