Skip to content

Commit fe17f55

Browse files
committed
fix: correct explorer API URLs for multiple chains
Ticket: WIN-7745
1 parent f1f9821 commit fe17f55

File tree

1 file changed

+30
-24
lines changed

1 file changed

+30
-24
lines changed

modules/sdk-core/src/bitgo/environments.ts

Lines changed: 30 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -212,29 +212,32 @@ const mainnetBase: EnvironmentTemplate = {
212212
wemixExplorerBaseUrl: 'https://api.etherscan.io/v2',
213213
sgbExplorerBaseUrl: 'https://songbird-explorer.flare.network',
214214
evm: {
215+
apechain: {
216+
baseUrl: 'https://api.etherscan.io/v2',
217+
},
215218
phrs: {
216219
baseUrl: 'https://testnet.dplabs-internal.com', // TODO: WIN-5787 add mainnet url when its available
217220
},
218221
ctc: {
219-
baseUrl: 'https://mainnet3.creditcoin.network',
222+
baseUrl: 'https://creditcoin.blockscout.com',
220223
},
221224
hypeevm: {
222-
baseUrl: 'https://rpc.hyperliquid.xyz/evm',
225+
baseUrl: 'https://api.etherscan.io/v2',
223226
},
224227
og: {
225-
baseUrl: 'https://chainscan.0g.ai/open/api',
228+
baseUrl: 'https://chainscan.0g.ai/open',
226229
},
227230
xpl: {
228-
baseUrl: 'https://api.routescan.io/v2/network/mainnet/evm/9745/etherscan/api',
231+
baseUrl: 'https://api.routescan.io/v2/network/mainnet/evm/9745/etherscan',
229232
},
230233
sonic: {
231-
baseUrl: 'https://rpc.soniclabs.com',
234+
baseUrl: 'https://api.etherscan.io/v2',
232235
},
233236
seievm: {
234-
baseUrl: 'https://evm-rpc.sei-apis.com',
237+
baseUrl: 'https://api.etherscan.io/v2',
235238
},
236239
kaia: {
237-
baseUrl: 'https://public-en.node.kaia.io',
240+
baseUrl: 'https://mainnet-oapi.kaiascan.io',
238241
},
239242
kavaevm: {
240243
baseUrl: 'https://api.verify.mintscan.io/evm/api/0x8ae',
@@ -249,19 +252,19 @@ const mainnetBase: EnvironmentTemplate = {
249252
baseUrl: 'https://api.etherscan.io/v2',
250253
},
251254
ip: {
252-
baseUrl: 'https://api.storyscan.app/',
255+
baseUrl: 'https://www.storyscan.io',
253256
},
254257
somi: {
255-
baseUrl: 'https://mainnet.somnia.w3us.site/',
258+
baseUrl: 'https://mainnet.somnia.w3us.site',
256259
},
257260
baseeth: {
258261
baseUrl: 'https://api.etherscan.io/v2',
259262
},
260263
flow: {
261-
baseUrl: 'https://evm.flowscan.io/api',
264+
baseUrl: 'https://evm.flowscan.io',
262265
},
263266
plume: {
264-
baseUrl: 'https://explorer.plume.org/api',
267+
baseUrl: 'https://explorer.plume.org',
265268
},
266269
megaeth: {
267270
baseUrl: 'https://carrot.megaeth.com/rpc', //TODO: add mainnet url when available
@@ -352,35 +355,38 @@ const testnetBase: EnvironmentTemplate = {
352355
somniaExplorerBaseUrl: 'https://shannon-explorer.somnia.network/',
353356
soneiumExplorerBaseUrl: 'https://soneium-minato.blockscout.com',
354357
evm: {
358+
apechain: {
359+
baseUrl: 'https://api.etherscan.io/v2',
360+
},
355361
phrs: {
356-
baseUrl: 'https://testnet.dplabs-internal.com',
362+
baseUrl: 'https://testnet.dplabs-internal.com', // Wrong value, Not available yet
357363
},
358364
ctc: {
359-
baseUrl: 'https://rpc.cc3-testnet.creditcoin.network',
365+
baseUrl: 'https://creditcoin-testnet.blockscout.com',
360366
},
361367
hypeevm: {
362-
baseUrl: 'https://rpc.hyperliquid-testnet.xyz/evm',
368+
baseUrl: 'https://rpc.hyperliquid-testnet.xyz/evm', // Not Available
363369
},
364370
og: {
365-
baseUrl: 'https://chainscan-test.0g.ai/open/api',
371+
baseUrl: 'https://chainscan-test.0g.ai/open',
366372
},
367373
xpl: {
368-
baseUrl: 'https://testnet-rpc.plasma.to',
374+
baseUrl: 'https://api.routescan.io/v2/network/testnet/evm/9746_5/etherscan',
369375
},
370376
sonic: {
371-
baseUrl: 'https://rpc.blaze.soniclabs.com',
377+
baseUrl: 'https://api.etherscan.io/v2',
372378
},
373379
seievm: {
374-
baseUrl: 'https://evm-rpc-testnet.sei-apis.com',
380+
baseUrl: 'https://api.etherscan.io/v2',
375381
},
376382
kaia: {
377-
baseUrl: 'https://public-en-kairos.node.kaia.io',
383+
baseUrl: 'https://kairos-oapi.kaiascan.io',
378384
},
379385
kavaevm: {
380386
baseUrl: 'https://api.verify.mintscan.io/evm/api/0x8ad',
381387
},
382388
irys: {
383-
baseUrl: 'https://testnet-rpc.irys.xyz/v1/execution-rpc',
389+
baseUrl: 'https://inst-1.cloud.blockscout.com',
384390
},
385391
mon: {
386392
baseUrl: 'https://api.etherscan.io/v2',
@@ -389,19 +395,19 @@ const testnetBase: EnvironmentTemplate = {
389395
baseUrl: 'https://api.etherscan.io/v2',
390396
},
391397
ip: {
392-
baseUrl: 'https://api.storyscan.app/',
398+
baseUrl: 'https://aeneid.storyscan.io',
393399
},
394400
tbaseeth: {
395401
baseUrl: 'https://api.etherscan.io/v2',
396402
},
397403
flow: {
398-
baseUrl: 'https://evm-testnet.flowscan.io/api',
404+
baseUrl: 'https://evm-testnet.flowscan.io',
399405
},
400406
megaeth: {
401-
baseUrl: 'https://carrot.megaeth.com/rpc',
407+
baseUrl: 'https://megaeth-testnet.blockscout.com',
402408
},
403409
plume: {
404-
baseUrl: 'https://testnet-explorer.plume.org/api',
410+
baseUrl: 'https://testnet-explorer.plume.org',
405411
},
406412
hedera: {
407413
baseUrl: 'https://server-verify.hashscan.io/verify',

0 commit comments

Comments
 (0)