Skip to content
Alchemy Logo

encodeCallsLA

function encodeCallsLA(calls): `0x${string}`;

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

Encodes an array of calls into LightAccount calldata for execute or executeBatch. Used internally by the LightAccount SmartAccount implementation. Typically not needed directly unless you have an advanced use case.

ParameterTypeDescription

calls

readonly Call[]

The calls to encode.

`0x${string}`

The encoded calldata.

Was this page helpful?