X Layer RPC
Endpoints coming soon for this network.
X Layer is an Ethereum Layer 2 built by OKX on the OP Stack. It uses OKB as its gas token and produces one block every second. Flashblocks stream preconfirmed state about every 200 ms. X Layer is EVM equivalent and connects to the Agglayer shared bridge. Dwellir runs X Layer archive nodes with debug and trace APIs. Our nodes also serve flashblocks pending state.
How do I get X Layer RPC access from Dwellir?
Dwellir runs no shared or dedicated X Layer nodes today. The free and shared plans do not cover X Layer.
Developer Resources
From Dwellir
Official X Layer links
FAQs
Dwellir provides X Layer mainnet RPC at https://api-xlayer-mainnet.n.dwellir.com/<your-api-key> and WebSocket access at wss://api-xlayer-mainnet.n.dwellir.com/<your-api-key>. Replace <your-api-key> with the key from your Dwellir dashboard.
X Layer mainnet uses chain ID 196. Its native gas token is OKB. X Layer testnet uses chain ID 1952.
Yes. Our nodes keep full archive state from block 42,810,021. At that block, on October 27, 2025, X Layer moved from Polygon CDK to the OP Stack. Our nodes send requests for older blocks to OKX's legacy RPC.
Yes. The debug_ and trace_ namespaces are enabled. Examples are debug_traceTransaction, trace_transaction and trace_block.
Yes. Our nodes follow the X Layer flashblocks stream. Use the pending block tag to read state from the latest flashblock. Flashblocks arrive about every 200 ms. Full blocks arrive every second.
Yes. X Layer is EVM equivalent. Tools such as ethers.js, viem, Web3.py, Hardhat and Foundry work with Dwellir's X Layer endpoint through standard Ethereum JSON-RPC methods.
Dwellir runs X Layer nodes in Sweden and Singapore.
What our customers say
“DIA leverages Dwellir’s robust infrastructure as a primary and/or backup RPC provider to power oracle services across a wide range of blockchain networks. Their reliability and forward-thinking approach to supporting new and emerging ecosystems align closely with DIA’s mission to provide resilient, scalable data infrastructure for Web3. This collaboration enhances DIA’s redundancy model and strengthens DIA’s ability to serve as a foundational layer for decentralized applications across the multi-chain landscape.”
Dillon HansonHead of Business Development, DIA
“Dwellir is more than just a service provider for Paribu Custody; they are a strategic partner. They consistently deliver tailored solutions, always standing by our side. Their reliability, speed, and proactive approach ensure seamless operations. Working with them truly makes a difference.”
Anıl KüçükrecepSenior Engineering Manager, Paribu
“We are very impressed! You are fast at deploying new nodes and we haven’t experienced any downtime yet with Dwellir.”
Jarmo IsotaloCTO, Token Terminal“Dwellir’s support is genuinely standout. We rely on them heavily across 80+ networks, and they’ve been rock solid, reliable infrastructure and a fantastic team to work with.”
Denham PreenCo-founder, Envio
Need X Layer? Talk to the team.
Dwellir runs no shared or dedicated X Layer nodes today. Tell the team what you need.