ethers.js/packages/providers/lib/index.d.ts

19 lines
1.5 KiB
TypeScript
Raw Permalink Normal View History

2019-05-14 18:48:48 -04:00
import { Block, BlockTag, EventType, Filter, Log, Listener, Provider, TransactionReceipt, TransactionRequest, TransactionResponse } from "@ethersproject/abstract-provider";
import { getNetwork } from "@ethersproject/networks";
import { Network, Networkish } from "@ethersproject/networks";
import { BaseProvider } from "./base-provider";
import { AlchemyProvider } from "./alchemy-provider";
2019-08-21 01:52:13 -04:00
import { CloudflareProvider } from "./cloudflare-provider";
2019-05-14 18:48:48 -04:00
import { EtherscanProvider } from "./etherscan-provider";
import { FallbackProvider } from "./fallback-provider";
import { IpcProvider } from "./ipc-provider";
import { InfuraProvider } from "./infura-provider";
import { JsonRpcProvider, JsonRpcSigner } from "./json-rpc-provider";
import { NodesmithProvider } from "./nodesmith-provider";
import { Web3Provider } from "./web3-provider";
2020-03-12 19:14:50 +01:00
import { WebSocketProvider } from "./websocket-provider";
2020-04-27 06:31:43 -04:00
import { ExternalProvider, JsonRpcFetchFunc } from "./web3-provider";
2019-07-20 20:13:00 -03:00
import { Formatter } from "./formatter";
2019-11-20 18:57:38 +09:00
declare function getDefaultProvider(network?: Network | string, options?: any): BaseProvider;
2020-04-27 06:31:43 -04:00
export { Provider, BaseProvider, FallbackProvider, AlchemyProvider, CloudflareProvider, EtherscanProvider, InfuraProvider, JsonRpcProvider, NodesmithProvider, Web3Provider, WebSocketProvider, IpcProvider, JsonRpcSigner, getDefaultProvider, getNetwork, Formatter, Block, BlockTag, EventType, Filter, Log, Listener, TransactionReceipt, TransactionRequest, TransactionResponse, ExternalProvider, JsonRpcFetchFunc, Network, Networkish };