import { BigNumber, ContractTransaction, providers, Signer } from 'ethers'; import { CurrencyTypes, LogTypes, StorageTypes } from '@requestnetwork/types'; export type SubmitterProps = { signer: Signer; /** * The minimum value for maxPriorityFeePerGas and maxFeePerGas. * The default is zero. */ gasPriceMin?: BigNumber; /** * The maximum value for maxFeePerGas. * There is no limit if no value is set. */ gasPriceMax?: BigNumber; /** * A multiplier for the computed maxFeePerGas. * The default is 100, which does not change the value (100 is equal to x1, 200 is equal to x2). */ gasPriceMultiplier?: number; /** * If set, the gas limit will be used when submitting transactions. * If not, the gas limit will be estimated on each submission. */ gasLimit?: BigNumber; network: CurrencyTypes.EvmChainName; logger?: LogTypes.ILogger; debugProvider?: boolean; }; /** * Handles the submission of a hash on the request HashSubmitter contract */ export declare class EthereumTransactionSubmitter implements StorageTypes.ITransactionSubmitter { private readonly logger; private enableEip1559; private readonly hashSubmitter; private readonly provider; private readonly gasFeeDefiner; private readonly gasLimit; constructor({ network, signer, logger, gasPriceMin, gasPriceMax, gasPriceMultiplier, gasLimit, debugProvider, }: SubmitterProps); get hashSubmitterAddress(): string; initialize(): Promise; /** Returns whether EIP-1559 is supported by the underlying provider. */ supportsEip1559(): boolean; /** Submits an IPFS hash, with fees according to `ipfsSize` */ submit(ipfsHash: string, ipfsSize: number): Promise; /** Encodes the submission of an IPFS hash, with fees according to `ipfsSize` */ prepareSubmit(ipfsHash: string, ipfsSize: number): Promise; } //# sourceMappingURL=ethereum-tx-submitter.d.ts.map