predictLightAccountAddress

Predicts the address of a light account based on provided parameters such as factory address, salt, owner address, and version.

Import

1import { predictLightAccountAddress } from "@account-kit/smart-contracts";

Parameters

params

PredictLightAccountAddressParams The parameters required to predict the light account address, including factory address, salt, owner address, and version

Returns

Address The predicted address of the light account calculated based on the provided parameters