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
+ getEtherscanLikeAPIUrl: added for sei mainnet (to be able to obtain contract ABI)
Original file line number Diff line number Diff line change @@ -296,6 +296,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
296
296
return `https://astar-zkevm.explorer.startale.com/api` ;
297
297
case 'polygon-zkevm-cardona' :
298
298
return `https://api-cardona-zkevm.polygonscan.com/api` ;
299
+ case 'sei-mainnet' :
300
+ return `https://seitrace.com/pacific-1/api` ;
299
301
default :
300
302
return `https://api-${ network } .etherscan.io/api` ;
301
303
}
@@ -406,6 +408,8 @@ const getPublicRPCEndpoint = (network: string) => {
406
408
return `https://1rpc.io/astr` ;
407
409
case 'polygon-zkevm-cardona' :
408
410
return `https://rpc.cardona.zkevm-rpc.com` ;
411
+ case 'sei-mainnet' :
412
+ return `https://evm-rpc.sei-apis.com` ;
409
413
default :
410
414
throw new Error ( `Unknown network: ${ network } ` ) ;
411
415
}
You can’t perform that action at this time.
0 commit comments