# GetMAV2UpgradeToData

> Overview of GetMAV2UpgradeToData

> 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<TAccount> = GetAccountParameter<TAccount>;
```

Defined in: [packages/smart-accounts/src/ma-v2/utils/account.ts:45](https://github.com/alchemyplatform/aa-sdk/blob/v5.x.x/packages/smart-accounts/src/ma-v2/utils/account.ts#L45)

## Type Parameters

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

  <tbody>
    <tr>
      <td>
        `TAccount` *extends* [`SmartAccount`](https://viem.sh) | `undefined`
      </td>

      <td>
        [`SmartAccount`](https://viem.sh) | `undefined`
      </td>
    </tr>

  </tbody>
</table>