Get Injected Provider for given wallet by passing a wallet ID (rdns) using EIP-6963 Provider Discovery.
import { injectedProvider } from "thirdweb/wallets"; const metamaskProvider = injectedProvider("io.metamask"); if (metamaskProvider) { console.log("Metamask is installed");}
function injectedProvider(walletId: WalletId): Ethereum | undefined;
The Wallet Id (rdns) to check.
let walletId: WalletId;
let returnType: Ethereum | undefined;
The details of the Injected Provider if it exists. undefined otherwise.
undefined