Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

zkSync Era WebSocket

WebSocket variant of the zkSync Era JSON-RPC endpoint for real-time eth_* subscriptions (newHeads, logs, pendingTransactions) and zks_* subscriptions.

zkSync Era WebSocket is one of 10 APIs that zkSync publishes on the APIs.io network, described by an AsyncAPI event-driven specification.

Tagged areas include WebSocket, Subscriptions, and Real-Time. The published artifact set on APIs.io includes API documentation and an AsyncAPI specification.

Requests are made against the base URL wss://mainnet.era.zksync.io/ws.

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI
Base URL
wss://mainnet.era.zksync.io/ws

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

zksync-asyncapi.yml Raw ↑

Other APIs zkSync publishes across the network.

zkSync Era Mainnet JSON-RPC
zkSync Era Sepolia JSON-RPC
zksync-ethers SDK
zksync2-go SDK
hardhat-zksync
foundry-zksync
zkSync Era Bridge
ZK Stack
zkSync Era Block Explorer API