# createMAv2Base | @account-kit/smart-contracts

> Overview of the createMAv2Base 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. */}

## Call Signature

```ts
function createMAv2Base(config): Promise<WebauthnModularAccountV2>;
```

Defined in: [account-kit/smart-contracts/src/ma-v2/account/common/modularAccountV2Base.ts:130](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/smart-contracts/src/ma-v2/account/common/modularAccountV2Base.ts#L130)

### Parameters

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

  <tbody>
    <tr>
      <td>
        `config`
      </td>

      <td>
        [`CreateWebauthnMAV2BaseParams`](../type-aliases/CreateWebauthnMAV2BaseParams)
      </td>
    </tr>

  </tbody>
</table>

### Returns

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

## Call Signature

```ts
function createMAv2Base<TSigner>(config): CreateMAV2BaseReturnType<TSigner>;
```

Defined in: [account-kit/smart-contracts/src/ma-v2/account/common/modularAccountV2Base.ts:134](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/smart-contracts/src/ma-v2/account/common/modularAccountV2Base.ts#L134)

### 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`\<`any`>
      </td>

      <td>
        `SmartAccountSigner`\<`any`>
      </td>
    </tr>

  </tbody>
</table>

### Parameters

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

  <tbody>
    <tr>
      <td>
        `config`
      </td>

      <td>
        [`CreateMAV2BaseParams`](../type-aliases/CreateMAV2BaseParams)
      </td>
    </tr>

  </tbody>
</table>

### Returns

[`CreateMAV2BaseReturnType`](../type-aliases/CreateMAV2BaseReturnType)\<`TSigner`>