3
3
*/
4
4
export const explorerApiUrls = {
5
5
etherscan : "https://api.etherscan.io/api" ,
6
- "ropsten.etherscan" : "https://api-ropsten.etherscan.io/api" ,
7
- "rinkeby.etherscan" : "https://api-rinkeby.etherscan.io/api" ,
8
- "goerli.etherscan" : "https://api-goerli.etherscan.io/api" ,
9
- "kovan.etherscan" : "https://api-kovan.etherscan.io/api" ,
10
6
"sepolia.etherscan" : "https://api-sepolia.etherscan.io/api" ,
7
+ "holesky.etherscan" : "https://api-holesky.etherscan.io/api" ,
11
8
bscscan : "https://api.bscscan.com/api" ,
12
9
"testnet.bscscan" : "https://api-testnet.bscscan.com/api" ,
13
10
hecoinfo : "https://api.hecoinfo.com/api" ,
14
11
"testnet.hecoinfo" : "https://api-testnet.hecoinfo.com/api" ,
15
12
ftmscan : "https://api.ftmscan.com/api" ,
16
13
"testnet.ftmscan" : "https://api-testnet.ftmscan.com/api" ,
17
14
"optimistic.etherscan" : "https://api-optimistic.etherscan.io/api" ,
18
- "kovan-optimistic.etherscan" : "https://api-kovan-optimistic.etherscan.io/api" ,
15
+ "sepolia-optimistic.etherscan" :
16
+ "https://api-sepolia-optimistic.etherscan.io/api" ,
19
17
polygonscan : "https://api.polygonscan.com/api" ,
20
18
"testnet.polygonscan" : "https://api-testnet.polygonscan.com/api" ,
21
19
arbiscan : "https://api.arbiscan.io/api" ,
22
- "testnet .arbiscan" : "https://api-testnet .arbiscan.io/api" ,
20
+ "sepolia .arbiscan" : "https://api-sepolia .arbiscan.io/api" ,
23
21
snowtrace : "https://api.snowtrace.io/api" ,
24
22
"testnet.snowtrace" : "https://api-testnet.snowtrace.io/api" ,
25
23
cronoscan : "https://api.cronoscan.com/api" ,
26
24
basescan : "https://api.basescan.org/api" ,
27
- "goerli.basescan" : "https://api-goerli.basescan.org/" ,
28
25
"sepolia.basescan" : "https://api-sepolia.basescan.org/api" ,
29
26
gnosisscan : "https://api.gnosisscan.io/api" ,
30
27
fraxscan : "https://api.fraxscan.com/api" ,
@@ -41,28 +38,24 @@ export type ApiName = keyof typeof explorerApiUrls;
41
38
*/
42
39
export const networkNames : Record < ApiName , string > = {
43
40
etherscan : "mainnet" ,
44
- "ropsten.etherscan" : "ropsten" ,
45
- "rinkeby.etherscan" : "rinkeby" ,
46
- "goerli.etherscan" : "goerli" ,
47
- "kovan.etherscan" : "kovan" ,
48
41
"sepolia.etherscan" : "sepolia" ,
42
+ "holesky.etherscan" : "holesky" ,
49
43
bscscan : "bsc" ,
50
44
"testnet.bscscan" : "bscTestnet" ,
51
45
hecoinfo : "heco" ,
52
46
"testnet.hecoinfo" : "hecoTestnet" ,
53
47
ftmscan : "fantom" ,
54
48
"testnet.ftmscan" : "ftmTestnet" ,
55
49
"optimistic.etherscan" : "optimism" ,
56
- "kovan -optimistic.etherscan" : "optimismKovan " ,
50
+ "sepolia -optimistic.etherscan" : "optimismSepolia " ,
57
51
polygonscan : "polygon" ,
58
52
"testnet.polygonscan" : "polygonMumbai" ,
59
53
arbiscan : "arbitrumOne" ,
60
- "testnet .arbiscan" : "arbitrumTestnet " ,
54
+ "sepolia .arbiscan" : "arbitrumSepolia " ,
61
55
snowtrace : "avalanche" ,
62
56
"testnet.snowtrace" : "avalancheTestnet" ,
63
57
cronoscan : "cronos" ,
64
58
basescan : "basescan" ,
65
- "goerli.basescan" : "basescanGoerli" ,
66
59
"sepolia.basescan" : "basescanSepolia" ,
67
60
gnosisscan : "gnosisscan" ,
68
61
fraxscan : "frax" ,
@@ -85,17 +78,14 @@ const FRAXSCAN_KEY = "TEUJWRCAKIXQCUR7XZRKCFRH3QHH344PAM";
85
78
// @todo this should be possible to override using VSCode settings
86
79
export const explorerApiKeys : Record < ApiName , string > = {
87
80
etherscan : ETHERSCAN_KEY ,
88
- "ropsten.etherscan" : ETHERSCAN_KEY ,
89
- "rinkeby.etherscan" : ETHERSCAN_KEY ,
90
- "goerli.etherscan" : ETHERSCAN_KEY ,
91
- "kovan.etherscan" : ETHERSCAN_KEY ,
92
81
"sepolia.etherscan" : ETHERSCAN_KEY ,
82
+ "holesky.etherscan" : ETHERSCAN_KEY ,
93
83
94
84
"optimistic.etherscan" : OPTIMISM_KEY ,
95
- "kovan -optimistic.etherscan" : OPTIMISM_KEY ,
85
+ "sepolia -optimistic.etherscan" : OPTIMISM_KEY ,
96
86
97
87
arbiscan : ARBISCAN_KEY ,
98
- "testnet .arbiscan" : ARBISCAN_KEY ,
88
+ "sepolia .arbiscan" : ARBISCAN_KEY ,
99
89
100
90
bscscan : BSCSCAN_KEY ,
101
91
"testnet.bscscan" : BSCSCAN_KEY ,
@@ -115,7 +105,6 @@ export const explorerApiKeys: Record<ApiName, string> = {
115
105
cronoscan : CRONOSCAN_KEY ,
116
106
117
107
basescan : BASESCAN_KEY ,
118
- "goerli.basescan" : BASESCAN_KEY ,
119
108
"sepolia.basescan" : BASESCAN_KEY ,
120
109
121
110
gnosisscan : GNOSISSCAN_KEY ,
0 commit comments