tornado-oracles/lib/providers.d.ts

6 lines
423 B
TypeScript

import { JsonRpcProvider, FetchUrlFeeDataNetworkPlugin } from 'ethers';
import { ChainIdType } from './constants';
import type { networkConfig, gasOracleOptions } from './types';
export declare function getGasOraclePlugin(networkKey: string, gasOracleOptions?: gasOracleOptions): FetchUrlFeeDataNetworkPlugin;
export declare function getProvider(netId: ChainIdType, rpcUrl: string, config: networkConfig): JsonRpcProvider;