Solana Beta is live. Try BoltRPC Solana endpoints free - start your trial now.
X Layer Mainnet
Connect to X Layer (OKX L2) with BoltRPC's X Layer RPC endpoint. Flat-rate pricing from $49/mo. Free 2-week trial, no credit card required.
Latency
Trusted by
Add this endpoint to your application to start making requests.
https://eu.endpoints.matrixed.link/rpc/xlayer?auth=YOUR_KEY wss://eu.endpoints.matrixed.link/ws/xlayer?auth=YOUR_KEY
Replace YOUR_KEY with your API key.
Get a free key →
Choose your preferred library and start building.
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider(
"https://eu.endpoints.matrixed.link/rpc/xlayer?auth=YOUR_KEY"
); X Layer protocols often see traffic patterns driven by OKX exchange activity: token listings, trading promotions, and bridging surges from OKX's user base. These create sudden, sharp RPC spikes. BoltRPC's flat pricing means those spikes do not translate into billing surprises. You pay for your plan, not for peak events.
X Layer's direct tie to OKX exchange means volatile traffic patterns during market events, token listings, and trading surges. BoltRPC's infrastructure handles these unpredictable spikes without dropped connections.
X Layer is built on Polygon CDK, a framework for zkEVM-compatible chains. BoltRPC supports the full JSON-RPC surface for CDK-based chains, including the same EVM methods that work on other Polygon CDK chains.
Any Ethereum code works on X Layer with a single endpoint change. Standard Solidity contracts, ABIs, and JSON-RPC methods all apply.
Subscribe to X Layer events in real time via WebSocket. Useful for tracking bridge events between OKX CEX and X Layer in real time.
BoltRPC supports X Layer alongside Linea, Scroll, and zkSync Era. If you are building across zkEVM chains, one API key covers the full set.
Full X JSON-RPC specification support.
eth_call eth_getBlockByNumber eth_sendRawTransaction eth_getLogs eth_getTransactionReceipt Join thousands of developers building next-generation blockchain applications. Get started in minutes with our developer-friendly infrastructure.