24 lines
1.0 KiB
TypeScript
24 lines
1.0 KiB
TypeScript
import { Blockchain } from '../../backend/BlockchainLink';
|
|
import type { EthereumNetworkInfo, FeeLevel } from '../../types';
|
|
import { Blocks, MiscFeeLevels } from '../common/MiscFees';
|
|
export declare class EthereumFeeLevels extends MiscFeeLevels {
|
|
coinInfo: EthereumNetworkInfo;
|
|
levels: FeeLevel[];
|
|
blocks: Blocks;
|
|
constructor(coinInfo: EthereumNetworkInfo);
|
|
load(blockchain: Blockchain): Promise<{
|
|
maxFeePerGas?: string | undefined;
|
|
maxPriorityFeePerGas?: string | undefined;
|
|
maxWaitTimeEstimate?: number | undefined;
|
|
minWaitTimeEstimate?: number | undefined;
|
|
feeLimit?: string | undefined;
|
|
feePerTx?: string | undefined;
|
|
baseFeePerGas?: string | undefined;
|
|
effectiveGasPrice?: string | undefined;
|
|
label: "normal" | "custom" | "high" | "economy" | "low";
|
|
feePerUnit: string;
|
|
blocks: number;
|
|
}[]>;
|
|
updateEthereumCustomFee(feePerUnit: string, effectiveGasPrice?: string, maxPriorityFeePerGas?: string): void;
|
|
}
|
|
//# sourceMappingURL=EthereumFees.d.ts.map
|