# AccountState

> Overview of AccountState

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

```ts
type AccountState<TAccount> =
  | {
      account: Promise<SupportedAccount<TAccount>>;
      error?: never;
      status: "INITIALIZING";
    }
  | {
      account: {
        address: Address;
      };
      error?: never;
      status: "RECONNECTING";
    }
  | {
      account: SupportedAccount<TAccount>;
      error?: never;
      status: "READY";
    }
  | {
      account: undefined;
      error?: never;
      status: "DISCONNECTED";
    }
  | {
      account: undefined;
      error: Error;
      status: "ERROR";
    };
```

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

## Type Parameters

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

  <tbody>
    <tr>
      <td>
        `TAccount` *extends* `SupportedAccountTypes`
      </td>
    </tr>
  </tbody>
</table>