const defaultUserOpSigner: ClientMiddlewareFn;Defined in: aa-sdk/core/src/middleware/defaults/userOpSigner.ts:27
Provides a default middleware function for signing user operations with a client account. This function validates the request and adds the signature to it.
This is already included in the client returned from createSmartAccountClient
The user operation structure to be signed
The middleware context containing the client and account information
The client object, which should include account and chain information
Optional, the account used for signing, defaults to the client's account if not provided
A promise that resolves to the signed user operation structure