Skip to main content

react/interfaces/WalletContextActions.md

What the wallet context can do.

Extended by​

Properties​

PropertyTypeDescription
clearError() => voidClears the last connection error.
connect(provider) => Promise<string>Connects through provider and makes it the context's provider.
connectDetected(wallet) => Promise<string>Connects to a detected wallet (Gala Wallet through GalaWalletProvider).
disconnect() => Promise<void>Disconnects the current provider and clears the context.
refreshWallets() => Promise<void>Detects the wallets again.
setProvider(provider) => voidSets the provider directly (an app that manages its own connection).