2017-09-20 00:47:08 +00:00
|
|
|
import RPCNode from '../rpc';
|
|
|
|
import EtherscanClient from './client';
|
|
|
|
import EtherscanRequests from './requests';
|
|
|
|
|
|
|
|
export default class EtherscanNode extends RPCNode {
|
2017-09-25 02:06:28 +00:00
|
|
|
public client: EtherscanClient;
|
|
|
|
public requests: EtherscanRequests;
|
2017-09-20 00:47:08 +00:00
|
|
|
|
|
|
|
constructor(endpoint: string) {
|
|
|
|
super(endpoint);
|
|
|
|
this.client = new EtherscanClient(endpoint);
|
|
|
|
this.requests = new EtherscanRequests();
|
|
|
|
}
|
|
|
|
}
|