MyCrypto/common/libs/nodes/etherscan/index.ts

15 lines
396 B
TypeScript

import RPCNode from '../rpc';
import EtherscanClient from './client';
import EtherscanRequests from './requests';
export default class EtherscanNode extends RPCNode {
public client: EtherscanClient;
public requests: EtherscanRequests;
constructor(endpoint: string) {
super(endpoint);
this.client = new EtherscanClient(endpoint);
this.requests = new EtherscanRequests();
}
}