RPC endpoints
This guide provides an index of network details for the Polygon Mumbai Testnet and Polygon PoS Mainnet, including their associated RPC and node endpoints.
Network details¶
Mumbai¶
The Mumbai testnet serves as a replica of the Polygon mainnet and is primarily used for testing. Obtain testnet tokens from the faucet. Note that these tokens hold no value and differ from MATIC.
Properties | Network details |
---|---|
Network name | Mumbai |
Parent chain | Goƫrli |
Chain ID | 80001 |
Gas token | MATIC |
Gas station | Mumbai gas station |
RPC endpoint | https://rpc-mumbai.matic.today |
Node endpoint | wss://rpc-mumbai.matic.today |
Heimdall API | https://heimdall-api-testnet.polygon.technology |
Block Explorer | https://mumbai.polygonscan.com/ |
Mainnet¶
The native token for the Polygon PoS mainnet is MATIC, which is used for transaction fees.
Properties | Network details |
---|---|
Network name | Polygon |
Parent chain | Ethereum |
Chain ID | 137 |
Gas token | MATIC |
Gas station | PolygonScan Gas Tracker |
RPC endpoint | https://polygon-rpc.com/ |
Node endpoint | wss://rpc-mainnet.matic.network |
Heimdall API | https://heimdall-api.polygon.technology |
Block explorer | https://polygonscan.com/ |
RPC API methods¶
Developers can interact with on-chain data and execute various types of transactions using network endpoints. These APIs adhere to the JSON-RPC standard, a stateless, lightweight remote procedure call (RPC) protocol.
Info
Getting started with RPC calls
For a comprehensive list of API documentation, visit Polygon JSON-RPC calls.
To explore API requests without any setup, fix failing requests, or discover new methods on the Polygon network, try the Composer App.
Infrastructure providers¶
Public RPCs may have rate limits or traffic restrictions. For dedicated free RPC URLs, consider the following providers:
- Alchemy
- Allnodes
- Ankr
- Blast (Bware Labs)
- BlockPI
- Chainnodes
- Chainstack
- DataHub (Figment)
- GetBlock
- Infura
- Moralis
- NodeReal
- OnFinality
- QuickNode
- SettleMint
- Tatum
- WatchData
- NOWNodes
- Kriptonio
- Chain49
- Chainbase
- Stackup
- 1RPC
- 4EVERLAND
For a complete list of public endpoints, visit Alchemy’s Chain Connect and Chainlist.