mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-03-01 19:20:29 +00:00
15 lines
382 B
JavaScript
15 lines
382 B
JavaScript
|
import RPCNode from '../rpc';
|
||
|
import EtherscanClient from './client';
|
||
|
import EtherscanRequests from './requests';
|
||
|
|
||
|
export default class EtherscanNode extends RPCNode {
|
||
|
client: EtherscanClient;
|
||
|
requests: EtherscanRequests;
|
||
|
|
||
|
constructor(endpoint: string) {
|
||
|
super(endpoint);
|
||
|
this.client = new EtherscanClient(endpoint);
|
||
|
this.requests = new EtherscanRequests();
|
||
|
}
|
||
|
}
|