--- title: defaultLightAccountVersion description: Overview of the defaultLightAccountVersion function slug: wallets/reference/smart-accounts/functions/defaultLightAccountVersion layout: reference --- {/* This file is auto-generated by TypeDoc. Do not edit manually. */} ```ts function defaultLightAccountVersion< TLightAccountType, >(): keyof object[TLightAccountType]; ``` Defined in: [packages/smart-accounts/src/light-account/utils.ts:15](https://github.com/alchemyplatform/aa-sdk/blob/main/packages/smart-accounts/src/light-account/utils.ts#L15) Get the default light account version for the given light account type ## Type Parameters
Type Parameter Description
`TLightAccountType` *extends* [`LightAccountType`](../type-aliases/LightAccountType)
## Returns keyof `object`\[`TLightAccountType`] the default version for the given light account type