10 lines
479 B
TypeScript
10 lines
479 B
TypeScript
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>;
|
|
}
|