Skip to content

smartAccountClientActions

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

Import

import { smartAccountClientActions } from "@aa-sdk/core";

Parameters

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