Logo
RPC Assistant

What Is the Polygon Amoy Testnet and How Do You Connect?

Summary

The Polygon Amoy testnet is the official testnet for Polygon PoS, replacing the deprecated Mumbai testnet. It uses Ethereum's Sepolia testnet as its root chain, providing a sustainable testing environment for developers to deploy and test smart contracts before mainnet. This guide covers what Amoy is, how to get test tokens, and how to connect via RPC endpoints.

Polygon Amoy Testnet Decision Checklist

Before you start building on Polygon Amoy, ask yourself:

  • Do you need a testnet that mirrors Polygon mainnet exactly? Amoy is designed to be as close to production as possible, with the same consensus mechanism and virtual machine.
  • Are you migrating from Mumbai? Mumbai is deprecated. Amoy uses Sepolia as its L1, so your tooling must support Sepolia-based testnets.
  • Do you need reliable RPC endpoints? Free public endpoints exist, but they often have rate limits. For CI/CD or team workflows, consider a dedicated RPC provider like OnFinality.
  • Do you need test tokens? Use official faucets (listed below) to get free POL tokens for testing.
  • Do you need a block explorer? Amoy Polygonscan is the official explorer.

What Is the Polygon Amoy Testnet?

Polygon Amoy is the official testnet for Polygon PoS, launched in January 2024 as the successor to the Mumbai testnet. It is anchored to Ethereum's Sepolia testnet, meaning it uses Sepolia as its root chain for checkpointing and finality. This alignment ensures long-term viability since Sepolia is a well-supported Ethereum testnet.

Amoy provides a low-stakes environment where developers can deploy and test smart contracts, experiment with new features, and run simulations without risking real POL tokens. It supports the same RPC methods as Polygon mainnet, making it a reliable staging ground for production deployment.

Chain Settings and RPC Endpoints

To connect to Polygon Amoy, you need the following network parameters:

ParameterValue
Network NamePolygon Amoy Testnet
RPC URL (public)https://polygon-amoy-bor-rpc.publicnode.com
RPC URL (alternative)https://rpc-amoy.polygon.technology
Chain ID80002
Currency SymbolPOL
Block Explorerhttps://amoy.polygonscan.com

Sample curl Request

curl -X POST https://polygon-amoy-bor-rpc.publicnode.com \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

JavaScript (ethers.js) Example

const { ethers } = require("ethers");

const provider = new ethers.providers.JsonRpcProvider("https://polygon-amoy-bor-rpc.publicnode.com");

async function getBlockNumber() {
  const blockNumber = await provider.getBlockNumber();
  console.log("Current block number:", blockNumber);
}

getBlockNumber();

How to Get Test POL Tokens

Testnet faucets distribute free POL tokens so you can pay gas fees. The most common faucets are:

Most faucets require a wallet address and some form of authentication (e.g., login via GitHub or a social post). You can request up to 0.1 POL per day per address.

Adding Polygon Amoy to MetaMask

To add the Amoy network to MetaMask:

  1. Open MetaMask and click the network selector at the top.
  2. Click Add Network.
  3. Enter the following details:
    • Network Name: Polygon Amoy Testnet
    • RPC URL: https://polygon-amoy-bor-rpc.publicnode.com
    • Chain ID: 80002
    • Currency Symbol: POL
    • Block Explorer URL: https://amoy.polygonscan.com
  4. Click Save.

Alternatively, use the one-click add button from revoke.cash.

Choosing a Reliable RPC Provider for Amoy

Public RPC endpoints are convenient for quick tests, but they have limitations:

  • Rate limits (e.g., 50 requests/second or less)
  • No SLA or uptime guarantees
  • Shared infrastructure with other users

For team development, CI/CD pipelines, or staging environments, a dedicated RPC provider offers:

  • Higher request throughput
  • WebSocket support for real-time events
  • Prioritized support and stability

OnFinality provides dedicated Polygon RPC nodes with customizable rate limits and multiple endpoints across regions. You can also use our shared API service for pay-as-you-go access without worrying about rate limits.

Common Pitfalls and Troubleshooting

Chain ID Mismatch

Always verify the chain ID (80002). Some outdated documentation still lists 80001 (Mumbai). Using the wrong chain ID will cause transaction failures.

Insufficient Test Tokens

Even on testnets, you need POL to pay gas. If a faucet is dry, try another or wait 24 hours.

WebSocket Connection Drops

If you need real-time updates, ensure your RPC provider supports WebSocket endpoints. OnFinality includes WebSocket support in all plans.

RPC Errors

If you get rate limit exceeded, switch to a provider with higher limits or implement retry logic.

Key Takeaways

  • Polygon Amoy is the official Polygon PoS testnet, replacing Mumbai.
  • It uses Sepolia as its L1, ensuring long-term compatibility.
  • Chain ID is 80002, native token is POL.
  • Use reliable RPC infrastructure for production-grade testing.
  • Always check your provider for rate limits, WebSocket support, and uptime.

Frequently Asked Questions

Q: Can I use Polygon Amoy for production dApps? A: No, testnets are for testing only. Mainnet (Polygon PoS) is required for production.

Q: How often can I request test POL tokens? A: Most faucets allow one request per 24 hours per wallet address.

Q: Is there a difference between Amoy and Mumbai? A: Yes, Amoy uses Sepolia L1; Mumbai used Goerli (now deprecated). Also, chain ID is different.

Q: Does OnFinality support Polygon Amoy? A: Yes, OnFinality supports Polygon Amoy through both shared API and dedicated nodes. See our supported networks page.

Q: What are the rate limits for public Amoy RPC endpoints? A: Varies, but typically around 50–100 requests per second. For higher limits, consider a dedicated provider like OnFinality.

Start building on Polygon Amoy today with reliable infrastructure from OnFinality. Compare RPC pricing and find the plan that fits your testnet workload.

RPC Knowledge Base

Related RPC details

Never Worry about Infrastructure Again

OnFinality takes away the heavy lifting of DevOps so you can build smarter and faster.

Get Started