smartAccountClientActions

1const smartAccountClientActions: <TTransport, TChain, TAccount, TContext>(
2 client,
3) => BaseSmartAccountClientActions<TChain, TAccount, TContext>;

Defined in: aa-sdk/core/src/client/decorators/smartAccountClient.ts:143

Provides a set of smart account client actions to decorate the provided client. These actions include building and signing user operations, sending transactions, and more.

NOTE: this is already added to clients returned from createSmartAccountClient

Type Parameters

Type ParameterDefault type

TTransport extends Transport

Transport

TChain extends Chain | undefined

Chain | undefined

TAccount extends SmartContractAccount | undefined

SmartContractAccount | undefined

TContext extends UserOperationContext | undefined

UserOperationContext | undefined

Parameters

ParameterTypeDescription

client

Client<TTransport, TChain, TAccount>

The client to bind the smart account actions to

Returns

BaseSmartAccountClientActions<TChain, TAccount, TContext>

An object containing various smart account client actions