Alchemy Logo

getDefaultLightAccountFactoryAddress

const getDefaultLightAccountFactoryAddress: (chain, version) => Address;

Defined in: account-kit/smart-contracts/dist/types/src/light-account/utils.d.ts:25

Utility method returning the default light account factory address given a Chain object

ParameterTypeDescription

chain

Chain

a Chain object

version

LightAccountVersion<"LightAccount">

the version of the light account to get the factory address for

Address

an for the given chain

if the chain doesn't have an address currently deployed

Was this page helpful?