const multisigSignatureMiddleware: ClientMiddlewareFn<MultisigUserOperationContext>;Defined in: account-kit/smart-contracts/src/msca/plugins/multisig/middleware.ts:37
A signer middleware to be used with Multisig Account Clients. This middleware handles correctly aggregating signatures passed through as context when sending UserOperations, proposing UserOperations, or adding signatures to a UserOperation.
the user operation struct to be signed
the parameters to be passed to the middleware
the account to be used for signing
the smart account client that will be used for RPC requests
the context object containing the signatures to be aggregated MultisigUserOperationContext
a Promise containing a UserOperation with an aggregated signature in the signature field