UseWalletBindingResult
UseWalletBindingResult =
object
Defined in: src/react/useWalletBinding.ts:46
Properties
bindWallet()
bindWallet: (
request:HandlersBindRequest) =>Promise<HandlersBoundWalletResponse|null>
Defined in: src/react/useWalletBinding.ts:83
Bind a wallet to the account using a signed nonce proof. Refetches on success.
Parameters
| Parameter | Type |
|---|---|
|
|
Returns
Promise<HandlersBoundWalletResponse | null>
The bound wallet or null on error
error
error:
Error|null
Defined in: src/react/useWalletBinding.ts:68
Error from the last operation
getNonce()
getNonce: () =>
Promise<HandlersNonceResponse|null>
Defined in: src/react/useWalletBinding.ts:78
Request a binding nonce. The returned message is what the wallet must sign
to prove ownership before calling bindWallet.
Returns
Promise<HandlersNonceResponse | null>
The nonce response or null on error
isLoading
isLoading:
boolean
Defined in: src/react/useWalletBinding.ts:64
Whether any operation is in progress
pro
pro:
HandlersProInfo|null
Defined in: src/react/useWalletBinding.ts:60
Convenience accessor for the Pro gate (totals.pro). Trust pro_active for
the authoritative state — it holds through the grace window even if
qualified dips below the threshold.
refetch()
refetch: () =>
Promise<void>
Defined in: src/react/useWalletBinding.ts:72
Refetch the bound wallets and totals.
Returns
Promise<void>
totals
totals:
HandlersListTotals|null
Defined in: src/react/useWalletBinding.ts:54
Aggregate totals across all bound wallets (summed staked ZETA + Pro status).
unbindWallet()
unbindWallet: (
address:string) =>Promise<boolean>
Defined in: src/react/useWalletBinding.ts:88
Unbind a wallet by its address (0x… or zeta1…). Refetches on success.
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
Promise<boolean>
true on success, false on error
wallets
wallets:
HandlersBoundWalletResponse[]
Defined in: src/react/useWalletBinding.ts:50
The account’s bound wallets, each with its on-chain staked amount.