Skip to content
Alchemy Logo

encodeDeferredActionWithSignature

function encodeDeferredActionWithSignature(params): `0x${string}`;

Defined in: packages/smart-accounts/src/ma-v2/utils/deferredActions.ts:51

Encodes the deferred action with its signature, producing the payload to prepend to the userOp signature.

Assumption: The client this extends is used to sign the typed data.

ParameterTypeDescription

params

EncodeDeferredActionWithSignatureParams

The parameters for encoding the deferred action with its signature.

`0x${string}`

The encoded payload to be prepended to the userOp signature.

Was this page helpful?