Skip to content

Commit 4525b0c

Browse files
committed
fix: blast mainnet
1 parent 07d8293 commit 4525b0c

File tree

3 files changed

+20
-11
lines changed

3 files changed

+20
-11
lines changed

.changeset/rich-horses-smash.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@graphprotocol/graph-cli': patch
3+
---
4+
5+
fix blast mainnet etherscan url

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

+4
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ const getEtherscanLikeAPIUrl = (network: string) => {
233233
return `https://api.linea-goerli.build/api`;
234234
case 'blast-testnet':
235235
return `https://api.routescan.io/v2/network/testnet/evm/168587773/etherscan/api`;
236+
case 'blast-mainnet':
237+
return `https://api.routescan.io/v2/network/mainnet/evm/81457/etherscan/api`;
236238
default:
237239
return `https://api-${network}.etherscan.io/api`;
238240
}
@@ -323,6 +325,8 @@ const getPublicRPCEndpoint = (network: string) => {
323325
return 'https://linea-goerli.public.blastapi.io';
324326
case 'blast-testnet':
325327
return 'https://sepolia.blast.io';
328+
case 'blast-mainnet':
329+
return 'https://rpc.blast.io';
326330
case 'optimism-sepolia':
327331
return 'https://sepolia.optimism.io';
328332
default:

pnpm-lock.yaml

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)