function decodeCallsMAv2(data, accountAddress): Call[];Defined in: packages/smart-accounts/src/ma-v2/accounts/calldataCodec.ts:51
Decodes ModularAccountV2 calldata back into an array of calls. Strips the EXECUTE_USER_OP_SELECTOR prefix if present.
Used internally by the ModularAccountV2 SmartAccount implementation. Typically not needed
directly unless you have an advanced use case.
| Parameter | Type | Description |
|---|---|---|
|
| The calldata to decode. |
|
| The account address, used as the |
Call[]
The decoded calls.