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) => {
300300 return `https://seitrace.com/pacific-1/api` ;
301301 case 'rootstock' :
302302 return 'https://rootstock.blockscout.com/api' ;
303+ case 'iotex' :
304+ return 'https://index.iotexscan.io/api' ;
303305 default :
304306 return `https://api-${ network } .etherscan.io/api` ;
305307 }
@@ -414,6 +416,8 @@ const getPublicRPCEndpoint = (network: string) => {
414416 return `https://evm-rpc.sei-apis.com` ;
415417 case 'rootstock' :
416418 return 'https://public-node.rsk.co' ;
419+ case 'iotex' :
420+ return 'https://iotexrpc.com' ;
417421 default :
418422 throw new Error ( `Unknown network: ${ network } ` ) ;
419423 }
You can’t perform that action at this time.
0 commit comments