Use getWalletProviderDataByKey when you already have a wallet provider key (for example from getWalletOptionsCatalogue or getAvailableWalletProvidersData) and need the provider’s display metadata, chain, group, and type.
This is a synchronous lookup against the in-memory registry, so it’s useful for rendering a single wallet option or for resolving a provider before calling connectWithWalletProvider.
Usage
useGetWalletProviderDataByKey subscribes to registry changes so the result re-renders when the provider data updates:
Parameters
Returns
A WalletProviderData object with:
Errors
Throws NoWalletProviderFoundError if the key does not exist in the current registry. The registry is populated asynchronously by chain extensions and EIP-6963 announcements, so a provider may not be immediately available on first render.
Last modified on October 23, 2026