UNPKG

@aave/protocol-js

Version:

Aave protocol data aggregation tool

6 lines (5 loc) 460 B
import { BigNumber } from 'ethers'; import { transactionType, Configuration } from '../types'; export declare const estimateGas: (tx: transactionType, config: Configuration, gasSurplus?: number | undefined) => Promise<BigNumber>; export declare const estimateGasByNetwork: (tx: transactionType, config: Configuration, gasSurplus?: number | undefined) => Promise<BigNumber>; export declare const getGasPrice: (config: Configuration) => Promise<BigNumber>;