diff --git a/ape_etherscan/client.py b/ape_etherscan/client.py index 59453b2..2db41c4 100644 --- a/ape_etherscan/client.py +++ b/ape_etherscan/client.py @@ -167,7 +167,7 @@ def get_etherscan_api_uri( return ( "https://api.polygonscan.com/api" if network_name == "mainnet" - else "https://api-testnet.polygonscan.com/api" + else "https://api-amoy.polygonscan.com/api" ) elif ecosystem_name == "avalanche": return ( diff --git a/tests/conftest.py b/tests/conftest.py index 2b3474b..bbc2e4c 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -255,7 +255,7 @@ def get_url_f(testnet: bool = False, tld: str = "io"): }, "polygon": { "mainnet": com_url("polygonscan"), - "amoy": com_testnet_url("testnet", "polygonscan"), + "amoy": com_testnet_url("amoy", "polygonscan"), }, "base": { "sepolia": org_testnet_url("sepolia", "basescan"),