Usage
Parameters
Returns
boolean — true if the wallet provider declares support for the given hardware wallet vendor,
false otherwise.
Examples
Filter providers to Ledger-compatible ones
Connect with the first available Ledger provider
React
canConnectWithHardwareWallet is synchronous — filter the list from useGetAvailableWalletProvidersData in @dynamic-labs-sdk/react-hooks, which updates when providers change. See Getting available wallets to connect for the same pattern.
Related functions
- isHardwareWalletAccount - Check if a connected account came from a hardware wallet
- connectWithWalletProvider - Connect a wallet (supports
hardwareWalletVendor) - Hardware Wallet Support - Overview of hardware wallet support