Overview
Overview of React hooks for Wallet UI
The React package includes a set of hooks to access wallet state and perform actions. These allow you to build custom components and logic for your application.
useWalletUi
The primary hook for interacting with wallet state.
useWalletUiAccount
A hook to access the current wallet account and its setter.
useWalletUiCluster
A hook to access and manage the current Solana cluster.
useWalletUiDropdown
A hook that provides the logic for a wallet dropdown menu.
useWalletUiSignAndSend
A hook to easily sign and send a transaction.
useWalletUiSigner
A hook to get a transaction signer for the active wallet.
useWalletUiWallet
A hook to connect and disconnect a specific wallet.
useWalletUiWallets
A hook to get a list of all detected wallets.