getLightAccountVersionForAccount

1function getLightAccountVersionForAccount<TAccount>(
2 account,
3 chain,
4): Promise<LightAccountVersionConfig>;

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

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

Type Parameters

Type ParameterDescription

TAccount extends LightAccountBase

Parameters

ParameterTypeDescription

account

TAccount

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