Polygon zkEVM RPC
什麼是 Polygon zkEVM?
Polygon zkEVM is a zero-knowledge rollup (zkRollup) Layer 2 solution for Ethereum, developed by Polygon Labs. It uses SNARK-based validity proofs to batch transactions off-chain and verify them on Ethereum mainnet, ensuring that all transactions are mathematically valid while inheriting Ethereum's security.
Unlike optimistic rollups, Polygon zkEVM does not require challenge periods for withdrawals because validity proofs provide immediate cryptographic certainty. Finality on Polygon zkEVM depends on proof submission intervals — typically minutes rather than days — but is still faster than optimistic rollups. Transaction costs are significantly reduced compared to Ethereum mainnet, with savings coming from transaction batching and calldata compression.
Polygon zkEVM achieves bytecode-level compatibility with the Ethereum Virtual Machine (EVM). This zkEVM architecture (classified as a Type 2 zkEVM) supports nearly all EVM opcodes and precompiles, with only minor differences in edge cases such as gas costs. This ensures that most existing Ethereum smart contracts and applications can be deployed without modification, preserving broad compatibility with Ethereum's execution environment, tooling, and developer ecosystem while providing zero-knowledge security guarantees.
Interacting with Polygon zkEVM
Polygon zkEVM extends the standard Ethereum JSON-RPC interface with additional Layer 2–specific functionality, while maintaining full compatibility with existing Ethereum tooling. Developers can use Polygon zkEVM seamlessly with tools such as MetaMask, Hardhat, Foundry, and Web3 libraries without code changes.
透過此 API,您可以:
- 執行所有標準的以太坊 JSON-RPC 方法(eth_call、eth_sendTransaction、eth_getBalance)
- Use Polygon zkEVM-specific extensions for L2 operations (e.g., querying proof status and bridge interactions)
- Query bridge activity, batch submissions, and proof verification status
- Subscribe to real-time L2 events via WebSocket connections
- Debug API utilities for deeper blockchain inspection
You can connect to the API by:
- Running a local Polygon zkEVM node
- Using a hosted provider such as a Quicknode Polygon zkEVM endpoint, which provides access to Polygon zkEVM Mainnet and Cardona testnet with high reliability, archive data, and enhanced performance
支援的網路
Quicknode provides access to the following Polygon zkEVM networks:
Complete reference for developers building on Polygon zkEVM with Quicknode:
快速入門
Get started with Polygon zkEVM quickly. Follow our step-by-step quickstart to set up your endpoint and make your first API request.
供應商端點
Learn how to configure and manage your Polygon zkEVM endpoints for optimal performance and reliability.
API 概覽
探索受支援的 API、網路、Quicknode 產品以及增強的 API 功能,以建置功能強大的應用程式。
市集
探索並整合來自 Quicknode 市集的強大外掛程式與工具,以強化您的 Web3 應用程式。
端點安全
透過身分驗證、白名單機制及最佳安全實務,確保您的端點安全。
錯誤代碼
Understand common error codes and troubleshooting steps for Polygon zkEVM API requests.