zkSync RPC
The QuickNode zkSync documentation constantly evolves as the chain undergoes upgrades and changes. We highly recommend cross-referencing with the zkSync Documentation for the latest updates.
Overview
At QuickNode, we run zkSync 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 zkSync APIs include:
- Ethereum JSON-RPC API
- zkSync JSON-RPC API
- Debug API
zkSync Network Support
Network | WSS | HTTPS |
---|---|---|
MAINNET | ✅ | ✅ |
SEPOLIA TESTNET | ✅ | ✅ |
Making zkSync API Requests
In this documentation, you will see example requests made with various programming languages and Web3 SDKs for each supported zkSync method. This section will explain how to execute each one of them on your machine.
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
Python
To run our Python code examples, you'll need to have Python installed as well as the requests package. You can install this package with the following command:
python -m pip install requests
JavaScript
To run our JavaScript code examples, you'll need to have Node v18 and up installed. You can follow this official document to install the latest, stable version of Node globally. Check if you have it by running the following:
node -v
Ruby
To run our Ruby code examples, you'll need to have Ruby installed. You can follow this official installation document for more information. Check if you have it by running the following:
ruby -v