Skip to content

Commit 1b6c203

Browse files
committed
Updated Etherscan API URLs.
2 parents cd360a4 + 75eb7ed commit 1b6c203

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

providers/etherscan-provider.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ function EtherscanProvider(network, apiKey) {
3535
baseUrl = 'https://api.etherscan.io';
3636
break;
3737
case 'ropsten':
38-
baseUrl = 'https://ropsten.etherscan.io';
38+
baseUrl = 'https://api-ropsten.etherscan.io';
3939
break;
4040
case 'rinkeby':
41-
baseUrl = 'https://rinkeby.etherscan.io';
41+
baseUrl = 'https://api-rinkeby.etherscan.io';
4242
break;
4343
case 'kovan':
44-
baseUrl = 'https://kovan.etherscan.io';
44+
baseUrl = 'https://api-kovan.etherscan.io';
4545
break;
4646
default:
4747
throw new Error('unsupported network');

0 commit comments

Comments
 (0)