Matter Labs · AsyncAPI Specification
ZKsync Era Pub/Sub (WebSocket) API
Version 1.0.0
Generated from the ZKsync Era pub-sub JSON-RPC documentation. ZKsync Era supports the Ethereum-style eth_subscribe / eth_unsubscribe subscription model over WebSocket. This is a faithful description of the documented subscription channels, not a provider- published AsyncAPI. Subscribe by sending {"jsonrpc":"2.0","id":1,"method":"eth_subscribe", "params":[
View Spec
View on GitHub
CompanyBlockchainEthereumLayer 2Zero-Knowledge ProofsRollupJSON-RPCWeb3CryptographyScalingAsyncAPIWebhooksEvents
Channels
newHeads
Emits a notification for each new block header added to the chain.
logs
Emits logs matching the supplied filter (address and topics) as they are included in new blocks.
newPendingTransactions
Emits the hash of each new pending transaction seen by the node.
Servers
wss
mainnet
ZKsync Era Mainnet WebSocket endpoint (chain id 324).
wss
sepolia
ZKsync Era Sepolia Testnet WebSocket endpoint (chain id 300).