ethers.js/packages/providers/lib/infura-provider.d.ts

10 lines
416 B
TypeScript
Raw Normal View History

2019-05-15 01:48:48 +03:00
import { Network } from "@ethersproject/networks";
2019-11-20 12:57:38 +03:00
import { ConnectionInfo } from "@ethersproject/web";
2019-05-15 01:48:48 +03:00
import { UrlJsonRpcProvider } from "./url-json-rpc-provider";
export declare class InfuraProvider extends UrlJsonRpcProvider {
readonly projectId: string;
2019-11-20 12:57:38 +03:00
readonly projectSecret: string;
static getApiKey(apiKey: any): any;
static getUrl(network: Network, apiKey: any): string | ConnectionInfo;
2019-05-15 01:48:48 +03:00
}