deploySmartAccount
Deployes a smart account via a dummy transaction.
import { deploySmartAccount } from "thirdweb"; const account = await deploySmartAccount({ smartAccount, chain, client, accountContract,});
function deploySmartAccount(args: {}): Promise< | undefined | { maxBlocksWaitTime?: number; readonly transactionHash: `0x${string}`; }>;
Arguments for the deployment.
let args: {};
let returnType: Promise< | undefined | { maxBlocksWaitTime?: number; readonly transactionHash: `0x${string}`; }>;