X Layer X Layer is OKX’s Ethereum Layer 2 built on the OP Stack, running xlayer-reth, OKX’s Reth-based execution client, with a standard Ethereum JSON-RPC and WebSocket API, OKB as its gas token, and 1-second block times.
X Layer is an OP Stack Layer 2 running xlayer-reth, OKX’s Reth-based execution client, with a standard Ethereum JSON-RPC and WebSocket API. The network produces 1-second blocks, and gas is paid in OKB.
DeFi, trading, payments, and onchain apps in the OKX ecosystem that need Ethereum-equivalent tooling, 1-second blocks, and no L1 data fee.
Start today with an X Layer node on Chainstack: Global Nodes for instant access, or a Dedicated Node for isolated infrastructure.
| Consensus | OP Stack optimistic rollup — a sequencer orders transactions and posts them to Ethereum, secured by a fraud-proof challenge window. X Layer migrated from a Polygon CDK zkEVM validium to the OP Stack in October 2025. |
| Public / Private / Permissioned | Public and permissionless for users and developers. The sequencer is currently operated by OKX. |
| Smart contracts | Full EVM compatibility via the OP Stack — deploy standard Solidity or Vyper contracts without modification. |
| Smart contract language(s) supported | Solidity, Vyper, and any language that compiles to EVM bytecode. |
| Transaction privacy | Not by default. X Layer is a public ledger where transactions, balances, and contract state are visible onchain. |
| Transaction visibility | Public by default. Transactions and blocks are queryable through public RPC endpoints and the OKX X Layer explorer. |
| Transaction ordering | The sequencer orders transactions and posts batches to Ethereum L1, producing 1-second blocks. |