# createDefaultAccountState | @account-kit/core

> Overview of the createDefaultAccountState function from @account-kit/core

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

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
function createDefaultAccountState(chains): object;
```

Defined in: [account-kit/core/src/store/store.ts:378](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/core/src/store/store.ts#L378)

Creates the default account state for the given chains.

## Parameters

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

  <tbody>
    <tr>
      <td>
        `chains`
      </td>

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

      <td>
        The chains to create the account state for
      </td>
    </tr>

  </tbody>
</table>

## Returns

`object`

The default account state for the given chains