You’re viewing the 2.0 (LTS) docs. View the current 3.0 version of this page.
useWalletState hook. This hook provides methods to manage the currently selected wallet and allows you to switch between different wallets.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Change the currently selected wallet for blockchain operations
useWalletState hook. This hook provides methods to manage the currently selected wallet and allows you to switch between different wallets.
import { useWalletState } from '@getpara/react-sdk';
const { selectedWallet, setSelectedWallet, updateSelectedWallet } = useWalletState();
// Switch to a specific wallet by ID
setSelectedWallet({ id: 'wallet_123' });
// Refresh selection from Para client state
updateSelectedWallet();