Skip to content
Alchemy Logo

decodeCallsLA

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

Defined in: packages/smart-accounts/src/light-account/accounts/calldataCodec.ts:57

Decodes LightAccount calldata back into an array of calls. Used internally by the LightAccount 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?