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