Skip to content

Commit 5c8d17a

Browse files
committedApr 30, 2024
Added matic-amoy to EtherescanProvider (#4711).
1 parent 7b7be0d commit 5c8d17a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

Diff for: ‎src.ts/providers/provider-etherscan.ts

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* - Optimism Goerli Testnet (``optimism-goerli``)
1818
* - Polygon (``matic``)
1919
* - Polygon Mumbai Testnet (``matic-mumbai``)
20+
* - Polygon Amoy Testnet (``matic-amoy``)
2021
*
2122
* @_subsection api/providers/thirdparty:Etherscan [providers-etherscan]
2223
*/
@@ -176,6 +177,8 @@ export class EtherscanProvider extends AbstractProvider {
176177
return "https:/\/api-testnet.bscscan.com";
177178
case "matic":
178179
return "https:/\/api.polygonscan.com";
180+
case "matic-amoy":
181+
return "https:/\/api-amoy.polygonscan.com";
179182
case "matic-mumbai":
180183
return "https:/\/api-testnet.polygonscan.com";
181184
case "optimism":

0 commit comments

Comments
 (0)
Please sign in to comment.