Skip to content

getDefaultLightAccountFactoryAddress

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

Import

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

Parameters

chain

Chain

  • a Chain object

version

LightAccountVersion

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

Returns

Address an for the given chain