sendUserOperation
Sends a user operation or batch of user operations using the connected account. Before executing, sendUserOperation will run the user operation through the middleware pipeline.
Import
Usage
Parameters
client_
Client<TTransport, TChain, TAccount>
the smart account client to use for RPC requests
args
SendUserOperationParameters<TAccount, TContext>
contains the UO or batch to send, context, overrides, and account if not hoisted on the client
Returns
Promise<SendUserOperationResult<TEntryPointVersion>>
a Promise containing the result of the user operation