Skip to content

getLightAccountVersionForAccount

Get the light account version definition for the given light account and chain

Import

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

Parameters

account

LightAccountBase the light account to get the version for

chain

Chain

  • the chain to get the version for

Returns

Promise<LightAccountVersionConfig> the light account version definition for the given light account and chain