Skip to main content

X Layer RPC

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

What is X Layer?

X Layer is a zero-knowledge rollup (zkRollup) Layer 2 solution for Ethereum, built on zkEVM technology. It uses a hybrid proof approach — generating STARK proofs for execution and then recursively wrapping them into a SNARK for efficient on-chain verification. This ensures transactions are mathematically valid while inheriting Ethereum’s security.

Unlike optimistic rollups, X Layer does not require challenge periods for withdrawals because validity proofs provide cryptographic certainty once submitted. Finality 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.

X Layer achieves bytecode-level compatibility with the Ethereum Virtual Machine (EVM). This zkEVM architecture 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 X Layer

X Layer fully supports the standard Ethereum JSON-RPC interface while also providing additional Layer 2–specific functionality. This ensures complete compatibility with existing Ethereum tooling, so developers can use X Layer seamlessly with tools such as MetaMask, Hardhat, Foundry, and Web3 libraries without code changes.

With the X Layer API, you can:

  • Execute all standard Ethereum JSON-RPC methods (eth_call, eth_sendTransaction, eth_getBalance)
  • Access X Layer–specific methods for rollup 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
  • Use available tracing and inspection utilities for deeper blockchain debugging

You can connect to the API by:

  • Running a local X Layer node
  • Using a hosted provider such as a QuickNode X Layer endpoint, which provides access to X Layer Mainnet with high reliability, archive data, and enhanced performance

Supported Networks

QuickNode provides access to the following X Layer networks:

Mainnet
Type:Production
Chain ID:
196
HTTP:
WSS:
Archive:Yes
Pruning:None
Share this doc