# defaultLightAccountVersion

> Overview of the defaultLightAccountVersion function

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* 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/v5.x.x/packages/smart-accounts/src/light-account/utils.ts#L15)

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

## Type Parameters

<table>
  <thead>
    <tr>
      <th align="left">Type Parameter</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `TLightAccountType` *extends* [`LightAccountType`](../type-aliases/LightAccountType)
      </td>

      <td />
    </tr>

  </tbody>
</table>

## Returns

keyof `object`\[`TLightAccountType`]

the default version for the given light account type