diff --git a/lib/analytics/index.js b/lib/analytics/index.js index b6fd569..ad6af9f 100644 --- a/lib/analytics/index.js +++ b/lib/analytics/index.js @@ -17,7 +17,7 @@ class Analytics { const chainName = await Util.getChainName(this._web3); const subdomain = chainName === 'mainnet' ? 'api' : `api-${chainName}`; - const baseUrl = `http://${subdomain}.etherscan.io/api?module=account&action=txlist&startblock=0&endblock=99999999&sort=asc`; + const baseUrl = `https://${subdomain}.etherscan.io/api?module=account&action=txlist&startblock=0&endblock=99999999&sort=asc`; const timestampSchedulerUrl = `${baseUrl}&address=${this._scheduler.timestampScheduler.address}`; const blockSchedulerUrl = `${baseUrl}&address=${this._scheduler.blockScheduler.address}`; @@ -81,4 +81,4 @@ class Analytics { } } -module.exports = Analytics; \ No newline at end of file +module.exports = Analytics;