Skip to content

Commit 81afd9b

Browse files
authoredSep 16, 2024··
add chiliz rpc and api (#1726)
* add chiliz rpc and api * add changeset
1 parent f22dc3c commit 81afd9b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
 

‎.changeset/new-planets-enjoy.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@graphprotocol/graph-cli": minor
3+
---
4+
5+
add chiliz rpc and api

‎packages/cli/src/command-helpers/abi.ts

+4
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
320320
return 'https://api-nova.arbiscan.io/api';
321321
case 'soneium-testnet':
322322
return 'https://explorer-testnet.soneium.org/api';
323+
case 'chiliz':
324+
return 'https://scan.chiliz.com/api';
323325
default:
324326
return `https://api-${network}.etherscan.io/api`;
325327
}
@@ -454,6 +456,8 @@ const getPublicRPCEndpoint = (network: string) => {
454456
return 'https://nova.arbitrum.io/rpc';
455457
case 'soneium-testnet':
456458
return 'https://rpc.minato.soneium.org/';
459+
case 'chiliz':
460+
return 'https://rpc.ankr.com/chiliz';
457461
default:
458462
throw new Error(`Unknown network: ${network}`);
459463
}

0 commit comments

Comments
 (0)
Please sign in to comment.