diff --git a/package.json b/package.json index a36258d..d458cfe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lumerin/wallet-core", - "version": "1.0.69", + "version": "1.0.70", "author": { "name": "Lumerin", "email": "developer@lumerin.io", diff --git a/src/plugins/explorer/api/arbiscan-factory.js b/src/plugins/explorer/api/arbiscan-factory.js index 973cdbe..d84c59b 100644 --- a/src/plugins/explorer/api/arbiscan-factory.js +++ b/src/plugins/explorer/api/arbiscan-factory.js @@ -7,6 +7,9 @@ const createArbiscanApi = (chainId) => { case '421613': baseURL = 'https://api-goerli.arbiscan.io/api' break + case '42161': + baseURL = 'https://api.arbiscan.io/api' + break default: throw new Error(`Unsupported chain ${chainId}`) } diff --git a/src/plugins/explorer/api/factory.js b/src/plugins/explorer/api/factory.js index 1f2f6c7..6a1e3e1 100644 --- a/src/plugins/explorer/api/factory.js +++ b/src/plugins/explorer/api/factory.js @@ -15,8 +15,9 @@ const createExplorerApis = (chainId) => { const etherscanApi = createEtherscanApi(chainId) const blockscoutApi = createBlockscoutApi(chainId) apis.push(etherscanApi, blockscoutApi) - break; + break case '421613': + case '42161': const arbiscanApi = createArbiscanApi(chainId) apis.push(arbiscanApi) break