getSmartWalletAddress

Get the associated smart wallet address for a given personal wallet address

function getSmartWalletAddress(
chain: ChainOrRpcUrl,
factoryAddress: string,
personalWalletAddress: string,
data: BytesLike,
): Promise<string>;

Parameters

The chain to use

Type

let chain: ChainOrRpcUrl;

The factory address

Type

let factoryAddress: string;

The personal wallet address

Type

let personalWalletAddress: string;

Type

let data: BytesLike;

Returns

let returnType: Promise<string>;

The smart wallet address