File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
packages/cli/src/command-helpers Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @graphprotocol/graph-cli " : minor
3
+ ---
4
+
5
+ add iotex urls
Original file line number Diff line number Diff line change @@ -300,6 +300,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
300
300
return `https://seitrace.com/pacific-1/api` ;
301
301
case 'rootstock' :
302
302
return 'https://rootstock.blockscout.com/api' ;
303
+ case 'iotex' :
304
+ return 'https://index.iotexscan.io/api' ;
303
305
default :
304
306
return `https://api-${ network } .etherscan.io/api` ;
305
307
}
@@ -414,6 +416,8 @@ const getPublicRPCEndpoint = (network: string) => {
414
416
return `https://evm-rpc.sei-apis.com` ;
415
417
case 'rootstock' :
416
418
return 'https://public-node.rsk.co' ;
419
+ case 'iotex' :
420
+ return 'https://iotexrpc.com' ;
417
421
default :
418
422
throw new Error ( `Unknown network: ${ network } ` ) ;
419
423
}
You can’t perform that action at this time.
0 commit comments