跳转至主要内容

Polygon zkEVM RPC

With Quicknode, you get access to our global Polygon zkEVM network which always routes your API requests to the nearest available location, ensuring low latency and the fastest speeds.

What is 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,您可以:

  • Execute all standard Ethereum JSON-RPC methods (eth_call, eth_sendTransaction, eth_getBalance)
  • Use Polygon zkEVM-specific extensions for L2 operations (e.g., querying proof status and bridge interactions)
  • 查询桥接活动、批量提交及证明验证状态
  • 通过 WebSocket 连接订阅实时 L2 事件
  • Debug API utilities for deeper blockchain inspection

您可以通过以下方式连接到该 API:

  • 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:

主网
类型:制作
链 ID:
1101
HTTP:
WSS:
存档:
修剪:
Cardona Testnet
类型:测试网
链 ID:
2442
HTTP:
WSS:
存档:
修剪:
分享此文档