UNPKG

@etherspot/modular-sdk

Version:

Etherspot Modular SDK - build with ERC-7579 smart accounts modules

24 lines 954 B
import { PaymasterAPI } from './PaymasterAPI.js'; import { UserOperation } from '../common/index.js'; export interface PaymasterResponse { result: { paymaster: string; paymasterData: string; preVerificationGas: string; verificationGasLimit: string; callGasLimit: string; paymasterVerificationGasLimit: string; paymasterPostOpGasLimit: string; maxFeePerGas?: string; maxPriorityFeePerGas?: string; }; } export declare class VerifyingPaymasterAPI extends PaymasterAPI { private paymasterUrl; private entryPoint; private context; constructor(paymasterUrl: string, entryPoint: string, context: any); getPaymasterData(userOp: Partial<UserOperation>): Promise<PaymasterResponse>; } export declare const getVerifyingPaymaster: (paymasterUrl: string, entryPoint: string, context: any) => VerifyingPaymasterAPI; //# sourceMappingURL=VerifyingPaymasterAPI.d.ts.map