# defaultLightAccountVersion | @account-kit/smart-contracts

> Overview of the defaultLightAccountVersion function from @account-kit/smart-contracts

> 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,
>(): LightAccountVersion<TLightAccountType>;
```

Defined in: [account-kit/smart-contracts/src/light-account/utils.ts:79](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/smart-contracts/src/light-account/utils.ts#L79)

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`
      </td>

      <td />
    </tr>

  </tbody>
</table>

## Returns

`LightAccountVersion`\<`TLightAccountType`>

the default version for the given light account type