getDefaultLightAccountFactoryAddress

1const 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

Parameters

ParameterTypeDescription

chain

Chain

a Chain object

version

LightAccountVersion<"LightAccount">

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

Returns

Address

an for the given chain

Throws

if the chain doesn’t have an address currently deployed