Creates a wallet based on the provided ID and arguments.
import { createWallet } from "thirdweb/wallets"; const metamaskWallet = createWallet("io.metamask"); const account = await metamaskWallet.connect({ client,});
function createWallet<ID extends WalletId>( ...args: CreateWalletArgs<ID>): Wallet<ID>;
The arguments for creating the wallet.
let args: CreateWalletArgs<ID>;
let returnType: Wallet<ID>;
The created wallet.