ethers.js/packages/providers/lib.esm/alchemy-provider.d.ts
2020-07-05 00:01:57 -04:00

10 lines
467 B
TypeScript

import { Network, Networkish } from "@ethersproject/networks";
import { WebSocketProvider } from "./websocket-provider";
import { UrlJsonRpcProvider } from "./url-json-rpc-provider";
export declare class AlchemyProvider extends UrlJsonRpcProvider {
readonly apiKey: string;
static getWebSocketProvider(network: Networkish, apiKey: any): WebSocketProvider;
static getApiKey(apiKey: any): any;
static getUrl(network: Network, apiKey: string): string;
}