tornado-oracles/lib/providers.d.ts

6 lines
423 B
TypeScript
Raw Permalink Normal View History

2024-05-12 17:49:53 +00:00
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;