Skip to content

Commit

Permalink
Added matic-amoy to EtherescanProvider (#4711).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Apr 30, 2024
1 parent 7b7be0d commit 5c8d17a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src.ts/providers/provider-etherscan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]
*/
Expand Down Expand Up @@ -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":
Expand Down

0 comments on commit 5c8d17a

Please sign in to comment.