# GetMAV2UpgradeToData | @account-kit/smart-contracts

> Overview of GetMAV2UpgradeToData 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 GetMAV2UpgradeToData<TSigner, TAccount> = GetAccountParameter<TAccount>;
```

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

## 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>
        `TAccount` *extends* `SmartContractAccountWithSigner`\<`string`, `TSigner`> | `undefined`
      </td>

      <td>
        `SmartContractAccountWithSigner`\<`string`, `TSigner`> | `undefined`
      </td>
    </tr>

  </tbody>
</table>