The useSwitchWallet hook gives you the ability to switch the user’s primary wallet. All it needs is a wallet ID as a parameter, and it resolve upon success. You can find the ID on any wallet object in Dynamic i.e. on the primaryWallet or those returned by useUserWallets:Documentation Index
Fetch the complete documentation index at: https://dynamic-docs-feat-sidebar-revamp.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Interacting with Wallets
Switch user's primary wallet
Was this page helpful?
⌘I