From 5c8d17a61825fe002bd45ee5b2239bfd8c8ae189 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Tue, 30 Apr 2024 19:59:39 -0400 Subject: [PATCH] Added matic-amoy to EtherescanProvider (#4711). --- src.ts/providers/provider-etherscan.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src.ts/providers/provider-etherscan.ts b/src.ts/providers/provider-etherscan.ts index 26c2884c6b..8c01614200 100644 --- a/src.ts/providers/provider-etherscan.ts +++ b/src.ts/providers/provider-etherscan.ts @@ -17,6 +17,7 @@ * - Optimism Goerli Testnet (``optimism-goerli``) * - Polygon (``matic``) * - Polygon Mumbai Testnet (``matic-mumbai``) + * - Polygon Amoy Testnet (``matic-amoy``) * * @_subsection api/providers/thirdparty:Etherscan [providers-etherscan] */ @@ -176,6 +177,8 @@ export class EtherscanProvider extends AbstractProvider { return "https:/\/api-testnet.bscscan.com"; case "matic": return "https:/\/api.polygonscan.com"; + case "matic-amoy": + return "https:/\/api-amoy.polygonscan.com"; case "matic-mumbai": return "https:/\/api-testnet.polygonscan.com"; case "optimism":