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 ' : patch
3
+ ---
4
+
5
+ fix blast testnet etherscan and RPC URL
Original file line number Diff line number Diff line change @@ -227,6 +227,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
227
227
return `https://api.lineascan.build/api` ;
228
228
case 'linea-goerli' :
229
229
return `https://api.linea-goerli.build/api` ;
230
+ case 'blast-testnet' :
231
+ return `https://api.routescan.io/v2/network/testnet/evm/168587773/etherscan/api` ;
230
232
default :
231
233
return `https://api-${ network } .etherscan.io/api` ;
232
234
}
@@ -313,6 +315,8 @@ const getPublicRPCEndpoint = (network: string) => {
313
315
return 'https://linea-mainnet.public.blastapi.io' ;
314
316
case 'linea-goerli' :
315
317
return 'https://linea-goerli.public.blastapi.io' ;
318
+ case 'blast-testnet' :
319
+ return 'https://sepolia.blast.io' ;
316
320
default :
317
321
throw new Error ( `Unknown network: ${ network } ` ) ;
318
322
}
You can’t perform that action at this time.
0 commit comments