Supported networks
Use one of these endpoints as your Polygon client provider.
Ensure that you replace <API-KEY>
with an API key from your Infura dashboard.
Network | Description | URL |
---|---|---|
Mainnet | JSON-RPC over HTTPS | https://polygon-mainnet.infura.io/v3/<API-KEY> |
Mainnet | JSON-RPC over WebSocket | wss://polygon-mainnet.infura.io/ws/v3/<API-KEY> |
Testnet (Amoy) | JSON-RPC over HTTPS | https://polygon-amoy.infura.io/v3/<API-KEY> |
Testnet (Amoy) | JSON-RPC over WebSocket | wss://polygon-amoy.infura.io/ws/v3/<API-KEY> |
Testnet (Mumbai) | JSON-RPC over HTTPS | https://polygon-mumbai.infura.io/v3/<API-KEY> |
Testnet (Mumbai) | JSON-RPC over WebSocket | wss://polygon-mumbai.infura.io/ws/v3/<API-KEY> |