UseWalletBindingOptions
UseWalletBindingOptions =
object
Defined in: src/react/useWalletBinding.ts:25
Properties
autoFetch?
optionalautoFetch:boolean
Defined in: src/react/useWalletBinding.ts:37
Fetch the bound wallets on mount and when the session key changes (default: true).
baseUrl?
optionalbaseUrl:string
Defined in: src/react/useWalletBinding.ts:33
Optional base URL for the API requests.
getToken()?
optionalgetToken: () =>Promise<string|null>
Defined in: src/react/useWalletBinding.ts:29
Custom function to get auth token for API calls
Returns
Promise<string | null>
onError()?
optionalonError: (error:Error) =>void
Defined in: src/react/useWalletBinding.ts:41
Optional callback for error handling
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
void
sessionKey?
optionalsessionKey:string|null
Defined in: src/react/useWalletBinding.ts:43
A stable account or session ID, or null when the user is signed out.