Skip to content
Alchemy Logo

getLightAccountAddressFromFactoryData

function getLightAccountAddressFromFactoryData(params): Promise<`0x${string}`>;

Defined in: packages/smart-accounts/src/light-account/predictAddress.ts:207

Gets the light account address from factory data. If the factory is a known default, decodes the args and predicts without RPC. Otherwise falls back to calling the entry point's getSenderAddress.

ParameterTypeDescription

params

GetLightAccountAddressFromFactoryDataParams

The parameters

Promise<`0x${string}`>

The account address

Was this page helpful?