Skip to content
Alchemy Logo

decodeCallsMAv1

function decodeCallsMAv1(data, accountAddress): Call[];

Defined in: packages/smart-accounts/src/ma-v1/accounts/calldataCodec.ts:49

Decodes ModularAccountV1 calldata back into an array of calls. Used internally by the ModularAccountV1 SmartAccount implementation. Typically not needed directly unless you have an advanced use case.

ParameterTypeDescription

data

`0x${string}`

The calldata to decode.

accountAddress

`0x${string}`

The account address, used as the to for unrecognized selectors.

Call[]

The decoded calls.

Was this page helpful?