2018-08-03 03:43:09 +03:00
|
|
|
import { BaseProvider } from './base-provider';
|
2018-07-31 01:59:52 +03:00
|
|
|
import { BlockTag, TransactionResponse } from './abstract-provider';
|
|
|
|
import { Networkish } from '../utils/networks';
|
2018-08-03 03:43:09 +03:00
|
|
|
export declare class EtherscanProvider extends BaseProvider {
|
2018-07-24 02:21:42 +03:00
|
|
|
readonly baseUrl: string;
|
|
|
|
readonly apiKey: string;
|
|
|
|
constructor(network?: Networkish, apiKey?: string);
|
|
|
|
perform(method: string, params: any): Promise<any>;
|
|
|
|
getHistory(addressOrName: string | Promise<string>, startBlock?: BlockTag, endBlock?: BlockTag): Promise<Array<TransactionResponse>>;
|
|
|
|
}
|