Predict the address of a smart account.
import { predictAddress } from "thirdweb/wallets/smart"; const predictedAddress = await predictAddress({ factoryContract, adminAddress, accountSalt,});
function predictAddress(args: { accountAddress?: string; accountSalt?: string; adminAddress: string; factoryContract: Readonly<ContractOptions<[]>>; predictAddressOverride?: ( factoryContract: Readonly<ContractOptions<[]>>, ) => Promise<string>;}): Promise<string>;
The options for predicting the address of a smart account.
let args: { accountAddress?: string; accountSalt?: string; adminAddress: string; factoryContract: Readonly<ContractOptions<[]>>; predictAddressOverride?: ( factoryContract: Readonly<ContractOptions<[]>>, ) => Promise<string>;};
let returnType: Promise<string>;
The predicted address of the smart account.