Black Friday ~40% off Growth and Pro annual plans See offers
  • Agents
  • Pricing

Build on X Layer with reliable RPC nodes

Reliable, scalable X Layer RPC access for OKX-ecosystem DeFi, trading, and payments workloads, fully managed by Chainstack.

100K+ Developers
20K+ Active Nodes
12 Global Data Centers
Reliable X Layer RPCLow-latency Global Node RPC URL

Create a Global Node endpoint for stable, high-throughput access to X Layer Mainnet and Testnet.

Select chain
X Layer
Mainnet
Testnet
https://x layer-mainnet.core.chainstack.com/e0ef1b32785e0e6be80be5e098474014
Create Endpoint
  • Frame 2006 6 logo Ethereum
  • Namesolana Typesymbol Filled logo Solana
  • Frame 2005 7 logo BNB Smart Chain
  • Namepolygon Typesymbol Filled logo Polygon
  • Frame 2005 2 logo Arbitrum
  • Base logo Base
  • Optimism logo Optimism
  • Avalanche logo Avalanche
  • Nameton Typesymbol Filled logo TON
  • Frame 2005 15 logo Ronin
  • Nameblast Typesymbol Filled logo Blast
  • Frame 2006 2 logo zkSync Era
  • Namestarknet Typesymbol Filled logo Starknet
  • Frame 2006 3 logo Scroll
  • Frame 2005 7 logo opBNB
  • Namesonic Typesymbol Filled logo Sonic
  • Frame 2005 21 logo Fantom
  • Frame 2005 11 logo TRON
  • Nameaptos Typesymbol Filled logo Aptos
  • Namecronos Typesymbol Filled logo Cronos
  • Namegnosis Typesymbol Filled logo Gnosis Chain
  • Namekaia Typesymbol Filled logo Kaia
  • Namecelo Typesymbol Filled logo Celo
  • Frame 2005 18 logo Oasis Sapphire
  • Btc logo Bitcoin
  • Namesui Typesymbol Filled logo Sui
  • Nameberachain Typesymbol Filled logo Berachain
  • Frame 2005 12 logo Taiko
  • Frame 2005 17 logo Plume
  • Soneium 1 logo Soneium
  • Namehyperliquid Typesymbol Filled logo Hyperliquid
  • Etherlink logo Etherlink
  • Wemix logo WeMix
  • Shibarium logo Shibarium
  • Bitlayer logo Bitlayer
  • Metis logo Metis
  • Frax 1 logo Fraxtal
  • Nameunichain Typesymbol Filled logo Unichain
  • Centrifuge logo Centrifuge
  • Mantle 1 logo Mantle
  • Namedogecoin Typesymbol Filled logo Dogecoin
  • Ijexy9vy 400x400 logo Katana
  • Namecardano Typesymbol Filled logo Cardano
  • Astar logo Astar
  • Zklink logo zkLink
  • B2 logo Bsquared
  • Merlin logo Merlin
  • Linea Logo Round logo Linea
  • Namepolkadot Typesymbol Filled logo Polkadot
  • Lens logo Lens
  • Nameink Typesymbol Filled logo Ink
  • Core logo Core
  • Hsk Chain logo HSK Chain
  • Nameapechain Typesymbol Filled logo Apechain
  • Zora logo Zora
  • Mind logo Mind
  • Group 6066 logo Zircuit
  • Frame 2006 61 logo Plasma
  • Namemonad Typesymbol Filled logo Monad
  • Nametempo Typesymbol Filled logo Tempo
  • Namemegaeth Typesymbol Filled logo MegaETH
  • Robinhood logo Robinhood
  • Arc logo Arc
  • Canton logo Canton Network
  • Protocol logo Stable
  • Protocol 1 logo World Chain
  • Protocol 2 logo XRP Ledger
  • Protocol 4 logo Stellar
  • Nameelysium Typesymbol Filled logo Elysium
  • Protocol 3 logo X Layer
  • Namezcash Typesymbol Filled logo Zcash
By clicking “Create Endpoint” you’ll set up a free Developer Plan account. No credit card required.
Global Nodes

Connect to X Layer Mainnet and Testnet through geo-balanced infrastructure that scales with request volume and routes traffic for reliable access across regions. Global Nodes serve archive data, and paid plans add debug_* and trace_* APIs.

Create X Layer node →

Dedicated Node

Run X Layer workloads on isolated op-reth infrastructure across all Chainstack locations, with single-tenant resources and greater control over node configuration.

Request a node →

Unlimited node illustration
Scale X Layer RPC with Unlimited Node

Run high-volume production workloads with flat monthly billing based on your selected requests per second tier.

Keep infrastructure costs predictable as OKX-ecosystem DeFi and payments traffic grows.

Learn more →

Consistent performance for every request

Run X Layer workloads on production-grade infrastructure with stable latency, predictable capacity, and reliable resources on Chainstack.

XLayer node illustration
X Layer Mainnet and Testnet

Build with managed X Layer RPC endpoints designed for sustained OKX-ecosystem DeFi and payments traffic. Get standard Ethereum JSON-RPC and WebSocket on an OP Stack chain built by OKX — chain ID 196 on Mainnet and 1952 on X Layer Testnet.

SOC 2 Type II and ISO 27001 certified.

Create a node →

Request a Dedicated X Layer RPC node

Get isolated infrastructure for production workloads that require predictable resources, advanced configuration, and consistent performance at scale.

Dedicated logoDedicated Node

Starting from Pro plan

Run your own blockchain node on fully isolated infrastructure with guaranteed performance and uptime. Each dedicated node provides complete control over configuration, network access, and data privacy - ideal for production-grade applications, analytics, and enterprise workloads.

Node type
$0/mo
Get started
Learn more about X Layer
What is X Layer?
X Layer is OKX’s Ethereum Layer 2 network. It migrated from a Polygon CDK zkEVM validium to the OP Stack in October 2025 and produces 1-second blocks. OKB is the network’s gas token.
How do I get an X Layer RPC endpoint?
Create a free Chainstack account and sign in. Click Add node, select XLayer, choose Mainnet or Testnet, and deploy a Global Node or Dedicated Node. When the node is running, open Access and credentials to copy your HTTPS and WebSocket endpoints.
What is the difference between an X Layer Global Node and a Dedicated Node?
An X Layer Global Node provides shared, auto-scaling RPC access through geo-balanced infrastructure, with archive data and debug and trace APIs on paid plans. A Dedicated Node provides isolated op-reth compute resources, predictable performance, and greater control over node configuration, and requires a Pro plan or higher.
Does X Layer use a native token?
Yes. OKB is the gas token on X Layer, with total supply capped at 21 million following an August 2025 token burn.
Is the X Layer RPC API compatible with Ethereum?
Yes. X Layer is fully EVM-compatible and exposes the standard Ethereum eth_* JSON-RPC and WebSocket interface — the same tooling (ethers.js, web3.py, Hardhat, Foundry) works without modification.
What are the uptime and performance guarantees?
Chainstack Global Nodes and Dedicated Nodes are built for highly available, low-latency production access. Custom uptime SLAs are available on the Enterprise plan.
How can I monitor X Layer node usage and performance?
Use node analytics on Chainstack to track request volume, response time, and node health from one place.

Notes for X Layer API

X Layer runs xlayer-reth, OKX’s Reth-based OP Stack execution client, and exposes the standard Ethereum JSON-RPC and WebSocket API, not a custom or CDK-specific interface. Use ethers.js, web3.py, or any standard EVM SDK. X Layer Mainnet has chain ID 196, testnet has chain ID 1952, and gas is paid in OKB. Global Nodes run in Archive mode, and debug and trace methods need a paid plan. Requests 127 or more blocks behind the tip count as archive requests at 2 request units, debug and trace requests are also 2 request units, and other requests are 1 request unit. On Mainnet, Archive serves the whole chain, including blocks from before the October 2025 OP Stack migration, with debug and trace available. Pending transactions stay with the sequencer, so eth_subscribe(“newPendingTransactions”) and txpool_status return nothing. Dedicated Nodes are available on Mainnet and Testnet with single-tenant resources, and require a Pro plan or higher.

You can also access X Layer through the Chainstack MCP server — query onchain data, deploy nodes, and search Chainstack docs from Claude, Cursor, Windsurf, ChatGPT, Codex, Pi, Gemini, or any MCP-compatible or SKILL-compatible AI agent.