@@ -67,7 +67,7 @@ export function getPolkadotDefaultServiceConfig(
6767 * Get explorer label based on network category.
6868 */
6969function getExplorerLabel ( networkConfig : TypedPolkadotNetworkConfig ) : string {
70- return networkConfig . networkCategory === 'hub' ? 'Blockscout ' : 'Moonscan' ;
70+ return networkConfig . networkCategory === 'hub' ? 'Routescan ' : 'Moonscan' ;
7171}
7272
7373/**
@@ -130,7 +130,7 @@ export function getNetworkServiceForms(
130130 lines : [
131131 `<strong>${ explorerLabel } :</strong> The primary block explorer for this network.` ,
132132 networkConfig . networkCategory === 'hub'
133- ? '<strong>Note:</strong> Hub networks use Blockscout API ( V1 compatible ).'
133+ ? '<strong>Note:</strong> Hub networks use Routescan (Etherscan-compatible V1 API ).'
134134 : '<strong>Note:</strong> Parachain networks use Moonscan (Etherscan V2 compatible).' ,
135135 ] ,
136136 } ,
@@ -150,10 +150,10 @@ export function getNetworkServiceForms(
150150 id : 'polkadot-explorer-use-v2' ,
151151 name : 'useV2Api' ,
152152 type : 'checkbox' ,
153- label : `Use ${ networkConfig . networkCategory === 'hub' ? 'Blockscout ' : 'Etherscan V2' } API` ,
153+ label : `Use ${ networkConfig . networkCategory === 'hub' ? 'Routescan ' : 'Etherscan V2' } API` ,
154154 helperText :
155155 networkConfig . networkCategory === 'hub'
156- ? 'Hub networks use Blockscout API which is V1 compatible.'
156+ ? 'Hub networks use Routescan, which exposes an Etherscan- compatible V1 API .'
157157 : 'Enable the V2 API for Moonscan networks.' ,
158158 validation : { } ,
159159 defaultValue : v2DefaultEnabled && networkConfig . networkCategory !== 'hub' ,
@@ -184,7 +184,7 @@ export function getNetworkServiceForms(
184184 label : 'Explorer Base URL (optional)' ,
185185 placeholder :
186186 networkConfig . networkCategory === 'hub'
187- ? 'https://assethub- polkadot.blockscout.com '
187+ ? 'https://polkadot.routescan.io '
188188 : 'https://moonbeam.moonscan.io' ,
189189 validation : { } ,
190190 helperText :
@@ -203,7 +203,7 @@ export function getNetworkServiceForms(
203203 label : 'Explorer API URL' ,
204204 placeholder :
205205 networkConfig . networkCategory === 'hub'
206- ? 'https://assethub-polkadot.blockscout.com /api'
206+ ? 'https://api.routescan.io/v2/network/mainnet/evm/420420419/etherscan /api'
207207 : 'https://api.moonscan.io/api' ,
208208 validation : { } ,
209209 helperText :
@@ -268,7 +268,7 @@ export function getNetworkServiceForms(
268268 validation : { } ,
269269 options : [
270270 {
271- label : networkConfig . networkCategory === 'hub' ? 'Blockscout ' : 'Moonscan' ,
271+ label : networkConfig . networkCategory === 'hub' ? 'Routescan ' : 'Moonscan' ,
272272 value : EvmProviderKeys . Etherscan ,
273273 } ,
274274 { label : 'Sourcify' , value : EvmProviderKeys . Sourcify } ,
0 commit comments