Skip to content

Commit 5755aaf

Browse files
authored
Add Arbiscan API URL to arbitrum-one network
Enables contract and ABI resolution when initializing `arbitrum-one` using graph-cli.
1 parent 62d6f93 commit 5755aaf

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.com/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)