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
+ added rootstock blockexplorer api and public rpc url
Original file line number Diff line number Diff line change @@ -298,6 +298,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
298
298
return `https://api-cardona-zkevm.polygonscan.com/api` ;
299
299
case 'sei-mainnet' :
300
300
return `https://seitrace.com/pacific-1/api` ;
301
+ case 'rootstock' :
302
+ return 'https://rootstock.blockscout.com/api' ;
301
303
default :
302
304
return `https://api-${ network } .etherscan.io/api` ;
303
305
}
@@ -410,6 +412,8 @@ const getPublicRPCEndpoint = (network: string) => {
410
412
return `https://rpc.cardona.zkevm-rpc.com` ;
411
413
case 'sei-mainnet' :
412
414
return `https://evm-rpc.sei-apis.com` ;
415
+ case 'rootstock' :
416
+ return 'https://public-node.rsk.co' ;
413
417
default :
414
418
throw new Error ( `Unknown network: ${ network } ` ) ;
415
419
}
You can’t perform that action at this time.
0 commit comments