useConnectedWallets()
function useConnectedWallets<TUse>(options?): When<TUse, Wallet<WalletOptions, string>[], Promise<Wallet<WalletOptions, string>[]>>;
Defined in: packages/react/src/hooks/use-wallets.ts:46
Hook for getting all connected wallets.
Type Parameters
| Type Parameter | Default type |
|---|---|
TUse extends boolean | true |
Parameters
| Parameter | Type |
|---|---|
options? | SuspenseOptions<TUse> |
Returns
When<TUse, Wallet<WalletOptions, string>[], Promise<Wallet<WalletOptions, string>[]>>
Connected wallets