getMAV2UpgradeToData
Defined in: account-kit/smart-contracts/src/ma-v2/utils.ts:192
Retrieves the data necessary to upgrade to a Modular Account V2 (MA v2). Note that the upgrade will be to the Semi Modular Account Storage variant
Example
Type Parameters
Parameters
Returns
Promise
<UpgradeToData
& object
>
A promise that resolves to upgrade data augmented with a function to create a Modular Account V2