useWallets()
function useWallets<TUse>(options?): When<TUse, Wallet<WalletOptions, string>[], Promise<Wallet<WalletOptions, string>[]>>;
Defined in: packages/react/src/hooks/use-wallets.ts:24
Hook for getting all available 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>[]>>
Available wallets