X Layer RPC Node
OKX's zkEVM Layer 2
Connect to X Layer, OKX's zkEVM Layer 2 built on Polygon CDK. Experience ultra-low fees, seamless OKX Wallet integration, and growing ecosystem backed by a leading exchange.
Connect to X Layer, OKX's zkEVM Layer 2 built on Polygon CDK. Experience ultra-low fees, seamless OKX Wallet integration, and growing ecosystem backed by a leading exchange.
Requests per Day
Network Uptime
Average Response Time
Technical Support
Technical characteristics and available endpoints
Mainnet & Testnet Support
X Layer is OKX's Layer 2 scaling solution built using Polygon's Chain Development Kit (CDK) with zkEVM technology. Backed by one of the world's largest cryptocurrency exchanges, X Layer offers low-cost transactions, native OKX Wallet integration, and seamless access to OKX's massive user base and liquidity.
https://rpc.crypto-chief.com/xlayer/{YOUR_API_KEY}wss://rpc.crypto-chief.com/xlayer/ws/{YOUR_API_KEY}Replace {YOUR_API_KEY} with your actual API key from the dashboard.
Access OKX's zkEVM ecosystem
An X Layer RPC node provides applications with access to OKX's Layer 2 network through an X Layer RPC endpoint or X Layer RPC URL, enabling low-cost Ethereum-compatible transactions with direct integration to OKX exchange infrastructure. Built on Polygon CDK with zkEVM technology, X Layer combines scalability with the trust and liquidity of a major centralized exchange and is accessible through an X Layer RPC API.
Most infrastructure providers expose an X Layer JSON RPC interface compatible with Ethereum tooling, allowing wallets, dApps, and backend systems to connect to the network using standard EVM methods.
X Layer brings together the best of both worlds — decentralized Layer 2 technology with centralized exchange resources. Backed by OKX, one of the world's largest crypto exchanges, X Layer offers unique advantages including native wallet integration, direct fiat onramps, and potential access to millions of existing OKX users.
X Layer advantages:
Many developers start with an X Layer free RPC service for testing and application development before upgrading to dedicated infrastructure for production environments.
X Layer is built using Polygon's Chain Development Kit (CDK), a modular framework for creating zkEVM-powered Layer 2 chains. This technology stack provides zero-knowledge proof security while maintaining full EVM equivalence, giving developers familiar Ethereum tooling with Layer 2 performance.
How it works:
HTTPS endpoints handle standard operations — balance queries, transaction submission, contract calls, and state reads with reliable performance.
WebSocket endpoints enable real-time updates for blocks, transactions, events, and logs — essential for trading interfaces and exchange integrations.
Quick start for developers
X Layer supports all standard Ethereum JSON-RPC methods:
const { ethers } = require('ethers');
const provider = new ethers.JsonRpcProvider('https://rpc.crypto-chief.com/xlayer/YOUR_API_KEY');
// Verify network
const network = await provider.getNetwork();
console.log('Chain ID:', network.chainId); // 196
// Get balance
const balance = await provider.getBalance('0x...');
console.log('Balance:', ethers.formatEther(balance));
// Send transaction
const wallet = new ethers.Wallet('YOUR_PRIVATE_KEY', provider);
const tx = await wallet.sendTransaction({
to: '0x...',
value: ethers.parseEther('0.1')
});
console.log('TX:', tx.hash);
await tx.wait();from web3 import Web3
w3 = Web3(Web3.HTTPProvider('https://rpc.crypto-chief.com/xlayer/YOUR_API_KEY'))
print('Connected:', w3.is_connected())
print('Chain ID:', w3.eth.chain_id) # 196
print('Block:', w3.eth.block_number)
print('Gas price:', w3.eth.gas_price)const { ethers } = require('ethers');
const provider = new ethers.WebSocketProvider('wss://rpc.crypto-chief.com/xlayer/ws/YOUR_API_KEY');
// Monitor blocks
provider.on('block', (blockNumber) => {
console.log('New block:', blockNumber);
});
// Monitor events
const filter = {
address: '0x...',
topics: [ethers.id('Transfer(address,address,uint256)')]
};
provider.on(filter, (log) => {
console.log('Event:', log);
});Reliable infrastructure for X Layer applications
Optimized infrastructure delivering <95ms latency with efficient routing and caching for OKX-integrated applications.
Benefit from Polygon CDK's zero-knowledge proof security with enterprise-grade infrastructure reliability.
Monitor RPC metrics including request volume, method distribution, latency, and error rates through dashboard.
Nodes deployed globally ensuring low latency for OKX's international user base across all regions.
Infrastructure scales automatically during high traffic maintaining consistent performance.
24/7 support from engineers familiar with X Layer, Polygon CDK, and exchange integrations.
Build on OKX's Layer 2 ecosystem
X Layer's combination of exchange backing, zkEVM security, and low fees makes it ideal for DeFi applications, trading platforms, and Web3 projects targeting OKX's massive user base.
Build DeFi protocols with direct OKX integration. Leverage exchange liquidity, fiat onramps, and seamless user onboarding from OKX's 50M+ users.
Create DEXs and trading interfaces with OKX Wallet integration. Our infrastructure supports high-frequency trading and real-time price feeds.
Integrate X Layer into multi-chain wallets with native OKX Wallet support for smooth user experience and asset management.
Launch lending, staking, and yield platforms benefiting from X Layer's low fees and growing ecosystem backed by OKX.
Build NFT platforms with low minting costs and OKX marketplace integration for broader distribution and liquidity.
Create blockchain games and social apps leveraging low fees and OKX's user base for rapid user acquisition.
Start building on Web3 — no credit card.
Flexible pay-as-you-go for any workload.
From $500 monthly plus 20% extra value.
Tailored solution for expert builders
All Subscription features plus: