Predict the address of a smart account.
import { predictSmartAccountAddress } from "thirdweb/wallets/smart"; const predictedAddress = await predictSmartAccountAddress({ client, chain, adminAddress,});
function predictSmartAccountAddress(args: { accountSalt?: string; adminAddress: string; chain: Readonly<ChainOptions & { rpc: string }>; client: ThirdwebClient; factoryAddress?: string;}): Promise<string>;
The options for predicting the address of a smart account.
let args: { accountSalt?: string; adminAddress: string; chain: Readonly<ChainOptions & { rpc: string }>; client: ThirdwebClient; factoryAddress?: string;};
let returnType: Promise<string>;
The predicted address of the smart account.