# getDefaultLightAccountFactoryAddress | @account-kit/smart-contracts

> Overview of the getDefaultLightAccountFactoryAddress 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 getDefaultLightAccountFactoryAddress(chain, version): `0x${string}`;
```

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

Utility method returning the default light account factory address given a Chain object

## Parameters

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

  <tbody>
    <tr>
      <td>
        `chain`
      </td>

      <td>
        [`Chain`](https://viem.sh)
      </td>

      <td>
        a Chain object
      </td>
    </tr>

    <tr>
      <td>
        `version`
      </td>

      <td>
        `LightAccountVersion`\<`"LightAccount"`>
      </td>

      <td>
        the version of the light account to get the factory address for
      </td>
    </tr>

  </tbody>
</table>

## Returns

`` `0x${string}` ``

an for the given chain

## Throws

if the chain doesn't have an address currently deployed