# toModularAccountV1Base

> Overview of the toModularAccountV1Base function

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

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

```ts
function toModularAccountV1Base<TTransport>(
  params,
): Promise<ModularAccountV1Base>;
```

Defined in: [packages/smart-accounts/src/ma-v1/accounts/base.ts:69](https://github.com/alchemyplatform/aa-sdk/blob/v5.x.x/packages/smart-accounts/src/ma-v1/accounts/base.ts#L69)

Creates a ModularAccountV1Base instance.

## Type Parameters

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

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

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

  </tbody>
</table>

## Parameters

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

  <tbody>
    <tr>
      <td>
        `params`
      </td>

      <td>
        [`ToModularAccountV1BaseParams`](../type-aliases/ToModularAccountV1BaseParams)\<`TTransport`>
      </td>

      <td>
        The parameters for creating a ModularAccountV1Base instance
      </td>
    </tr>

  </tbody>
</table>

## Returns

`Promise`\<[`ModularAccountV1Base`](../type-aliases/ModularAccountV1Base)>

A promise that resolves to a ModularAccountV1Base instance