@alchemy/aa-core
Version:
viem based SDK that enables interactions with ERC-4337 Smart Accounts. ABIs are based off the definitions generated in @account-abstraction/contracts
13 lines (11 loc) • 392 B
text/typescript
import type { ClientMiddlewareFn } from "./types";
/**
* Noop middleware that does nothing and passes the arguments through
*
* @async
* @param args the client middleware arguments passed to the middleware
* @returns the arguments passed to the middleware and returned as is without modification
*/
export const noopMiddleware: ClientMiddlewareFn = async (args) => {
return args;
};