Skip to content

Commit 8f6ee24

Browse files
mitchhs12saihaj
andauthoredMay 15, 2024··
Added Linea Sepolia RPC and Linea Sepolia EtherscanLikeApiUrl (#1661)
* Added Linea Sepolia RPC and Linea Sepolia EtherscanLikeApiUrl * Create quiet-rings-care.md --------- Co-authored-by: Saihajpreet Singh <saihajpreet.singh@gmail.com>
1 parent 00e774e commit 8f6ee24

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
 

‎.changeset/quiet-rings-care.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@graphprotocol/graph-cli": patch
3+
---
4+
5+
add Linea Sepolia RPC and Linea Sepolia Etherscan url

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

+4
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
229229
return `https://blockscout.scroll.io/api`;
230230
case 'linea':
231231
return `https://api.lineascan.build/api`;
232+
case 'linea-sepolia':
233+
return 'https://api-sepolia.lineascan.build/api';
232234
case 'linea-goerli':
233235
return `https://api.linea-goerli.build/api`;
234236
case 'blast-testnet':
@@ -333,6 +335,8 @@ const getPublicRPCEndpoint = (network: string) => {
333335
return 'https://rpc.ankr.com/scroll';
334336
case 'linea':
335337
return 'https://linea-mainnet.public.blastapi.io';
338+
case 'linea-sepolia':
339+
return 'https://linea-sepolia.public.blastapi.io';
336340
case 'linea-goerli':
337341
return 'https://linea-goerli.public.blastapi.io';
338342
case 'blast-testnet':

0 commit comments

Comments
 (0)
Please sign in to comment.