X Layer Mainnet
High-performance Ethereum-compatible Layer 2 solution
Access X Layer Mainnet through our unified RPC API with 68 supported methods. Benefit from intelligent routing across multiple providers, real-time node health monitoring, and optimized performance with economy and performance routing strategies. Get started with instant API access and transparent pricing.
This endpoint routes read requests to community-run public RPC nodes across multiple regions. Send transaction requests are routed to premium infrastructure for guaranteed delivery. Ideal for testing and development — no API key required.
Nodes in Sync (Lag Checks)
Daily in-sync status by provider over 30 days for this chain.
Node Correctness (Replay Checks)
Daily replay correctness by provider over 30 days for this chain.
Supported Methods(68)
Method | Usage | Providers | Price | Latency (p50) |
|---|---|---|---|---|
eth_getTransactionByHash | Medium | 5 | $3.00/M $6.00/M | 187ms 215ms |
eth_getBlockByNumber | Medium | 5 | $3.00/M $6.00/M | 50ms 9ms |
eth_call | Low | 5 | $3.00/M $6.00/M | 55ms 9ms |
eth_blockNumber | Low | 5 | $3.00/M $6.00/M | 55ms 8ms |
eth_maxPriorityFeePerGas | Low | 5 | $3.00/M $6.00/M | 79ms 8ms |
eth_gasPrice | Low | 5 | $3.00/M $6.00/M | 55ms 8ms |
eth_getBalance | Low | 5 | $3.00/M $6.00/M | 203ms 8ms |
eth_getLogs | Low | 5 | $3.00/M $6.00/M | - 61ms |
eth_estimateGas | Low | 5 | $3.00/M $6.00/M | 209ms 9ms |
eth_chainId | Low | 5 | $3.00/M $6.00/M | 116ms 18ms |
About X Layer Mainnet
X Layer Mainnet is a Layer 2 blockchain network developed by OKX, launched in April 2024. It utilizes the Polygon Chain Development Kit (CDK) to provide a high-performance, Ethereum-compatible environment for decentralized applications.
The network employs a zkEVM validium architecture, combining zero-knowledge proofs with off-chain data storage to enhance scalability and reduce transaction costs. This design allows for faster and more efficient processing of transactions while maintaining security.
OKB serves as the native gas token on X Layer Mainnet, facilitating transaction fees and network operations. In August 2025, OKX optimized the OKB economic model by permanently capping its total supply at 21 million through a significant token burn. This adjustment aims to enhance the token's scarcity and value proposition within the ecosystem.
X Layer Mainnet is connected to the broader on-chain community, offering minimal costs and fast transaction speeds. It supports a wide range of decentralized applications, including those in decentralized finance (DeFi), payments, and real-world asset (RWA) scenarios. The network's integration with the OKX Wallet, OKX Exchange, and OKX Pay provides users with efficient on-chain payment experiences and seamless asset management.