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