ethers.js/packages/providers/alchemy-provider.d.ts
2019-05-14 18:48:48 -04:00

8 lines
317 B
TypeScript

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