Polygon RPC
The QuickNode Polygon documentation constantly evolves as the chain undergoes upgrades and changes. We highly recommend cross-referencing with the Polygon Documentation for the latest updates.
Overview
At QuickNode, we run Polygon RPC endpoints. In aggregate, we serve hundreds of billions of requests every month. To make it easier for developers to integrate with QuickNode, we've created this documentation that shows how to call RPC methods using cURL, JavaScript, Python, Ruby and any applicable Web3 SDKs. QuickNode-supported Polygon APIs include:
- Ethereum JSON-RPC API
- Debug API
- Erigon JSON RPC API
- Polygon JSON-RPC API
- Marketplace Add-Ons
- Polygon Blockbook JSON-RPC
- Multi-Region Broadcast
- Single Flight
Polygon Network Support
Network | WSS | HTTPS |
---|---|---|
MAINNET | ✅ | ✅ |
AMOY TESTNET | ✅ | ✅ |
Making Polygon API Requests
In this documentation, you will see example requests made with various programming languages and Web3 SDKs for each supported Polygon method. This section will explain how to execute each one of them on your machine.
QuickNode SDK
To run the QuickNode SDK code examples, you'll need to have the QuickNode SDK installed. You can find out more about the QuickNode SDK at the getting started page. If you'd like to use it, please be sure to install it like so:
npm install @quicknode/sdk
cURL
Most *nix based systems have cURL support out of the box. cURL is a command line tool and library for transferring data with URLs. Check if you have it by running the following:
curl -h