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

10 lines
501 B
TypeScript
Raw Normal View History

2020-07-05 07:01:57 +03:00
import { Network, Networkish } from "@ethersproject/networks";
2020-07-14 09:33:30 +03:00
import { ConnectionInfo } from "@ethersproject/web";
2020-07-05 07:01:57 +03:00
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 {
2020-07-13 15:03:56 +03:00
static getWebSocketProvider(network?: Networkish, apiKey?: any): WebSocketProvider;
2019-11-20 12:57:38 +03:00
static getApiKey(apiKey: any): any;
2020-07-14 09:33:30 +03:00
static getUrl(network: Network, apiKey: string): ConnectionInfo;
2019-05-15 01:48:48 +03:00
}