From e27071cf741e0ae86618164658e9e17cce00ff64 Mon Sep 17 00:00:00 2001 From: Lukas Date: Tue, 3 Sep 2024 16:42:34 +0200 Subject: [PATCH 1/2] fix metis chainid was using wrong chainid --- src/chains/definitions/metis.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chains/definitions/metis.ts b/src/chains/definitions/metis.ts index 3525dcb08c..1eb3b64de7 100644 --- a/src/chains/definitions/metis.ts +++ b/src/chains/definitions/metis.ts @@ -16,7 +16,7 @@ export const metis = /*#__PURE__*/ defineChain({ name: 'Metis Explorer', url: 'https://explorer.metis.io', apiUrl: - 'https://api.routescan.io/v2/network/mainnet/evm/43114/etherscan/api', + 'https://api.routescan.io/v2/network/mainnet/evm/1088/etherscan/api', }, blockscout: { name: 'Andromeda Explorer', From 1cbbd53ea5a44573654e969bead281d836f31aeb Mon Sep 17 00:00:00 2001 From: jxom Date: Wed, 4 Sep 2024 16:29:48 +1000 Subject: [PATCH 2/2] Create four-pugs-greet.md --- .changeset/four-pugs-greet.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/four-pugs-greet.md diff --git a/.changeset/four-pugs-greet.md b/.changeset/four-pugs-greet.md new file mode 100644 index 0000000000..1a812a53c4 --- /dev/null +++ b/.changeset/four-pugs-greet.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Fixed Metis Explorer API URL.