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