tornado-oracles/lib/feeOracleV4.d.ts

10 lines
479 B
TypeScript
Raw Normal View History

2024-11-21 13:57:36 +03:00
import { TornadoFeeOracle } from './feeOracle';
import { ITornadoFeeOracle, TransactionData, TxType } from './types';
/**
* Oracle for V4 (old-version) transactions - estimates fee with predefined gas limit and without smart bumping
*/
export declare class TornadoFeeOracleV4 extends TornadoFeeOracle implements ITornadoFeeOracle {
constructor(chainId: number, rpcUrl: string);
getGasLimit(tx?: TransactionData, type?: TxType, bumpPercent?: number): Promise<number>;
}