To switch wallets, use the useWalletState hook. This hook provides methods to manage the currently selected wallet and allows you to switch between different wallets.

useWalletState

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();

Next Steps