This page has been updated for Wallets SDK V1. If you are using the previous version,
see the previous version of this page or the V1 migration guide.
useWallet()
Returns
(address: string) => Promise<DeviceSignerConfig> | undefined
Creates a Device Signer
(passkeyName: string) => Promise<RegisterSignerPasskeyParams>
Creates a Passkey Signer
(props: ClientSideWalletCreateArgs<C>) => Promise<Wallet | undefined>
Creates a new wallet.
WalletContextError | null
Detail about the last failure, or null when there is no error.
(props: Pick<ClientSideWalletArgsFor<C>, "chain" | "alias">) => Promise<Wallet | undefined>
Retrieves an existing wallet.
"not-loaded" | "in-progress" | "loaded" | "error"
Current wallet status.
Wallet<Chain> | undefined
The current wallet instance, or undefined if no wallet is loaded.
Usage
Wallet Methods
Thewallet instance returned by useWallet() provides methods for token transfers, balances, signing, and more.
Since the React SDK wraps the Wallets SDK, see the Wallets SDK Reference for complete documentation.
Chain-specific:
EVMWallet—getViemClient(),sendTransaction(),signMessage(),signTypedData()SolanaWallet—sendTransaction()StellarWallet—migrate(),sendTransaction(),upgrade()

