Overview

Explore the comprehensive guide to the ZKsync Era JSON-RPC API, offering seamless Ethereum integration and advanced Layer 2 functionalities for developers.

Welcome to the ZKsync Era API reference documentation! This page provides you with a high-level overview of our API capabilities and essential information.

ZKsync Era seamlessly integrates with the Ethereum ecosystem. To achieve this integration, we support not only the standard Ethereum JSON-RPC API but also introduce L2-specific features that enhance functionality.

ZKsync supports RPC providers that comply with the official Ethereum JSON-RPC API specification. You can explore a comprehensive list of supported RPC providers in our RPC ecosystem page.

To ensure a seamless experience, we impose rate limits on both HTTPS and WebSocket APIs. Generally, these limits are ample, ranging from 10 to 100 requests per second (RPS) per client.

Mainnet

  • Network Name: ZKsync Era Mainnet
  • RPC URL: https://mainnet.era.zksync.io
  • Chain ID: 324
  • Currency Symbol: ETH
  • Block Explorer URL: https://explorer.zksync.io
  • WebSocket URL: wss://mainnet.era.zksync.io/ws

Testnet

  • Network Name: ZKsync Sepolia Testnet
  • RPC URL: https://sepolia.era.zksync.dev
  • Chain ID: 300
  • Currency Symbol: ETH
  • Block Explorer URL: https://sepolia.explorer.zksync.io
  • WebSocket URL: wss://sepolia.era.zksync.dev/ws

API Collections

Explore our curated collections of API endpoints tailored for every need, from seamless Ethereum integrations to advanced debugging tools. Embrace the full potential of ZKsync Era and elevate your dApps to new heights. Discover, integrate, and innovate with our robust API offerings.

Ethereum JSON-RPC API

Integrate effortlessly with full compatibility for the Ethereum JSON-RPC API.

ZKsync JSON-RPC API

Unlock Layer 2 capabilities with our dedicated ZKsync JSON-RPC API.

Debugging JSON-RPC API

Simplify your development process with powerful debugging tools.

PubSub JSON-RPC

Stay informed with real-time event subscriptions.


Made with ❤️ by the ZKsync Community