middlewareActions
function that takes in ClientMiddlewareConfig used during client initiation and returns the middleware actions object that the smart account client extends with
Import
import { middlewareActions } from "@aa-sdk/core";
Parameters
overrides
ClientMiddlewareConfig
config used during client initiation for overriding default middlewares
Returns
(client: MiddlewareClient<TTransport, TChain, TAccount>) => { middleware: ClientMiddleware }
middleware actions object