1 | import { Network, Networkish } from "@ethersproject/networks";
|
2 | import { ConnectionInfo } from "@ethersproject/web";
|
3 | import { WebSocketProvider } from "./websocket-provider";
|
4 | import { CommunityResourcable } from "./formatter";
|
5 | import { UrlJsonRpcProvider } from "./url-json-rpc-provider";
|
6 | export declare class InfuraWebSocketProvider extends WebSocketProvider implements CommunityResourcable {
|
7 | readonly apiKey: string;
|
8 | readonly projectId: string;
|
9 | readonly projectSecret: string;
|
10 | constructor(network?: Networkish, apiKey?: any);
|
11 | isCommunityResource(): boolean;
|
12 | }
|
13 | export declare class InfuraProvider extends UrlJsonRpcProvider {
|
14 | readonly projectId: string;
|
15 | readonly projectSecret: string;
|
16 | static getWebSocketProvider(network?: Networkish, apiKey?: any): InfuraWebSocketProvider;
|
17 | static getApiKey(apiKey: any): any;
|
18 | static getUrl(network: Network, apiKey: any): ConnectionInfo;
|
19 | isCommunityResource(): boolean;
|
20 | }
|
21 |
|
\ | No newline at end of file |