import { BlockTag, TransactionResponse } from "@ethersproject/abstract-provider"; import { Network, Networkish } from "@ethersproject/networks"; import { BaseProvider } from "./base-provider"; export declare class EtherscanProvider extends BaseProvider { readonly baseUrl: string; readonly apiKey: string | null; constructor(network?: Networkish, apiKey?: string); getBaseUrl(): string; getUrl(module: string, params: Record): string; getPostUrl(): string; getPostData(module: string, params: Record): Record; fetch(module: string, params: Record, post?: boolean): Promise; detectNetwork(): Promise; perform(method: string, params: any): Promise; getHistory(addressOrName: string | Promise, startBlock?: BlockTag, endBlock?: BlockTag): Promise>; isCommunityResource(): boolean; } //# sourceMappingURL=etherscan-provider.d.ts.map