# ModularAccountV2Client | @account-kit/smart-contracts

> Overview of ModularAccountV2Client 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
type ModularAccountV2Client<TSigner, TChain, TTransport> =
  TTransport extends AlchemyTransport
    ? AlchemySmartAccountClient<TChain, ModularAccountV2<TSigner>>
    : SmartAccountClient<TTransport, TChain, ModularAccountV2<TSigner>>;
```

Defined in: [account-kit/smart-contracts/src/ma-v2/client/client.ts:31](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/smart-contracts/src/ma-v2/client/client.ts#L31)

## Type Parameters

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

  <tbody>
    <tr>
      <td>
        `TSigner` *extends* `SmartAccountSigner`
      </td>

      <td>
        `SmartAccountSigner`
      </td>
    </tr>

    <tr>
      <td>
        `TChain` *extends* [`Chain`](https://viem.sh)
      </td>

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

    <tr>
      <td>
        `TTransport` *extends* [`Transport`](https://viem.sh) | `AlchemyTransport`
      </td>

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

  </tbody>
</table>