From f7c5299de00e8032bd10bff3e4bc65fb54a80c26 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Mon, 28 Aug 2023 14:51:04 +0530 Subject: [PATCH] added linea scan details --- apps/etherscan/src/app/utils/networks.ts | 70 ++++++++++++------------ 1 file changed, 36 insertions(+), 34 deletions(-) diff --git a/apps/etherscan/src/app/utils/networks.ts b/apps/etherscan/src/app/utils/networks.ts index 65edafdebd..009c81a0c3 100644 --- a/apps/etherscan/src/app/utils/networks.ts +++ b/apps/etherscan/src/app/utils/networks.ts @@ -1,36 +1,38 @@ export const scanAPIurls = { - // all mainnet - 1: "https://api.etherscan.io/api", - 56: "https://api.bscscan.com/api", - 137: "https://api.polygonscan.com/api", - 250: "https://api.ftmscan.com/api", - 42161: "https://api.arbiscan.io/api", - 43114: "https://api.snowtrace.io/api", - 1285: "https://api-moonriver.moonscan.io/api", - 1284: "https://api-moonbeam.moonscan.io/api", - 25: "https://api.cronoscan.com/api", - 199: "https://api.bttcscan.com/api", - 10: "https://api-optimistic.etherscan.io/api", - 42220: "https://api.celoscan.io/api", - 288: "https://api.bobascan.com/api", - 100: "https://api.gnosisscan.io/api", - 1101: "https://api-zkevm.polygonscan.com/api", + // all mainnet + 1: 'https://api.etherscan.io/api', + 56: 'https://api.bscscan.com/api', + 137: 'https://api.polygonscan.com/api', + 250: 'https://api.ftmscan.com/api', + 42161: 'https://api.arbiscan.io/api', + 43114: 'https://api.snowtrace.io/api', + 1285: 'https://api-moonriver.moonscan.io/api', + 1284: 'https://api-moonbeam.moonscan.io/api', + 25: 'https://api.cronoscan.com/api', + 199: 'https://api.bttcscan.com/api', + 10: 'https://api-optimistic.etherscan.io/api', + 42220: 'https://api.celoscan.io/api', + 288: 'https://api.bobascan.com/api', + 100: 'https://api.gnosisscan.io/api', + 1101: 'https://api-zkevm.polygonscan.com/api', + 59144: 'https://api.lineascan.build/api', - // all testnet - 5: "https://api-goerli.etherscan.io/api", - 11155111: "https://api-sepolia.etherscan.io/api", - 97: "https://api-testnet.bscscan.com/api", - 80001: "https://api-testnet.polygonscan.com/api", - 4002: "https://api-testnet.ftmscan.com/api", - 421611: "https://api-testnet.arbiscan.io/api", - 42170: "https://api-nova.arbiscan.io/api", - 43113: "https://api-testnet.snowtrace.io/api", - 1287: "https://api-moonbase.moonscan.io/api", - 338: "https://api-testnet.cronoscan.com/api", - 1028: "https://api-testnet.bttcscan.com/api", - 420: "https://api-goerli-optimistic.etherscan.io/api", - 44787: "https://api-alfajores.celoscan.io/api", - 2888: "https://api-testnet.bobascan.com/api", - 84531: "https://api-goerli.basescan.org/api", - 1442: "https://api-testnet-zkevm.polygonscan.com/api" -} \ No newline at end of file + // all testnet + 5: 'https://api-goerli.etherscan.io/api', + 11155111: 'https://api-sepolia.etherscan.io/api', + 97: 'https://api-testnet.bscscan.com/api', + 80001: 'https://api-testnet.polygonscan.com/api', + 4002: 'https://api-testnet.ftmscan.com/api', + 421611: 'https://api-testnet.arbiscan.io/api', + 42170: 'https://api-nova.arbiscan.io/api', + 43113: 'https://api-testnet.snowtrace.io/api', + 1287: 'https://api-moonbase.moonscan.io/api', + 338: 'https://api-testnet.cronoscan.com/api', + 1028: 'https://api-testnet.bttcscan.com/api', + 420: 'https://api-goerli-optimistic.etherscan.io/api', + 44787: 'https://api-alfajores.celoscan.io/api', + 2888: 'https://api-testnet.bobascan.com/api', + 84531: 'https://api-goerli.basescan.org/api', + 1442: 'https://api-testnet-zkevm.polygonscan.com/api', + 59140: 'https://api-testnet.lineascan.build/api', +}