UNPKG

@safe-global/relay-kit

Version:

SDK for Safe Smart Accounts with support for ERC-4337 and Relay

13 lines 987 B
import { EstimateGasData } from '@safe-global/types-kit'; import { EstimateFeeFunctionProps, IFeeEstimator } from '../../../../packs/safe-4337/types'; /** * PimlicoFeeEstimator is a class that implements the IFeeEstimator interface. You can implement three optional methods that will be called during the estimation process: * - preEstimateUserOperationGas: Setup the userOperation before calling the eth_estimateUserOperation gas method. * - postEstimateUserOperationGas: Adjust the userOperation values returned after calling the eth_estimateUserOperation method. */ export declare class PimlicoFeeEstimator implements IFeeEstimator { #private; preEstimateUserOperationGas({ bundlerUrl, userOperation, entryPoint, paymasterOptions }: EstimateFeeFunctionProps): Promise<EstimateGasData>; postEstimateUserOperationGas({ userOperation, entryPoint, paymasterOptions }: EstimateFeeFunctionProps): Promise<EstimateGasData>; } //# sourceMappingURL=PimlicoFeeEstimator.d.ts.map