permissionless
Version:
A utility library for working with ERC-4337
4 lines • 720 B
TypeScript
import type { Chain, Client, SendCallsParameters, SendCallsReturnType, Transport } from "viem";
import { type SendUserOperationParameters, type SmartAccount } from "viem/account-abstraction";
export declare function sendCalls<account extends SmartAccount | undefined, chain extends Chain | undefined, accountOverride extends SmartAccount | undefined = undefined, chainOverride extends Chain | undefined = Chain | undefined, calls extends readonly unknown[] = readonly unknown[]>(client: Client<Transport, chain, account>, args: SendCallsParameters<chain, account, chainOverride, calls> | SendUserOperationParameters<account, accountOverride, calls>): Promise<SendCallsReturnType>;
//# sourceMappingURL=sendCalls.d.ts.map