Skip to content
Alchemy Logo

SmartAccountWithDecodeCalls

type SmartAccountWithDecodeCalls<TImplementation> =
  SmartAccount<TImplementation> & object;

Defined in: packages/smart-accounts/src/types.ts:27

Helper type that converts a SmartAccount type to have a required decodeCalls function. This is useful for account implementations that always provide the decodeCalls functionality.

NameType

decodeCalls

NonNullable<SmartAccount<TImplementation>["decodeCalls"]>

Type Parameter

TImplementation extends SmartAccountImplementation

Was this page helpful?