Skip to main content
Checks whether a specific wallet provider supports connecting via a hardware wallet vendor (e.g., Ledger). Use this before presenting hardware wallet options to the user, or to filter the list of available providers to only those compatible with a hardware device.

Usage

Parameters

Returns

booleantrue 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.
Last modified on June 24, 2026