Skip to content
Alchemy Logo

defaultLightAccountVersion

function defaultLightAccountVersion<
  TLightAccountType,
>(): keyof object[TLightAccountType];

Defined in: packages/smart-accounts/src/light-account/utils.ts:15

Get the default light account version for the given light account type

Type ParameterDescription

TLightAccountType extends LightAccountType

keyof object[TLightAccountType]

the default version for the given light account type

Was this page helpful?