Skip to content

Commit 096ab46

Browse files
authored
Merge pull request #793 from 0xkarel/arbiscan-fix
Add Arbiscan API URL to arbitrum-one network
2 parents 62d6f93 + c3371e7 commit 096ab46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/commands/init.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ const loadAbiFromBlockScout = async (ABI, network, address) =>
279279
const getEtherscanLikeAPIUrl = (network) => {
280280
switch(network){
281281
case "mainnet": return `https://api.etherscan.io/api`;
282+
case "arbitrum-one": return `https://api.arbiscan.io/api`;
282283
case "bsc": return `https://api.bscscan.com/api`;
283284
case "matic": return `https://api.polygonscan.com/api`;
284285
case "mumbai": return `https://api-testnet.polygonscan.com/api`;

0 commit comments

Comments
 (0)