ethers.js/packages/providers/lib.esm/etherscan-provider.d.ts
2021-01-19 05:22:54 -05:00

13 lines
689 B
TypeScript

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;
constructor(network?: Networkish, apiKey?: string);
detectNetwork(): Promise<Network>;
perform(method: string, params: any): Promise<any>;
getHistory(addressOrName: string | Promise<string>, startBlock?: BlockTag, endBlock?: BlockTag): Promise<Array<TransactionResponse>>;
isCommunityResource(): boolean;
}
//# sourceMappingURL=etherscan-provider.d.ts.map