predictAddress
Deprecated
Use predictSmartAccountAddress
instead.
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; predictAddressOverride?: ( admin: string, ) => Promise<string>;}): Promise<string>;
The options for predicting the address of a smart account.
let args: { accountAddress?: string; accountSalt?: string; adminAddress: string; predictAddressOverride?: ( admin: string, ) => Promise<string>;};