Solana

Solana Beta is live. Try BoltRPC Solana endpoints free - start your trial now.

X

X

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.

Chain ID: 196 JSON-RPC 2.0 WebSocket

Latency

Trusted by

Chainlink Enjin Tiingo Gains Network

Quick Connect

Add this endpoint to your application to start making requests.

HTTPS
https://eu.endpoints.matrixed.link/rpc/xlayer?auth=YOUR_KEY
WebSocket
wss://eu.endpoints.matrixed.link/ws/xlayer?auth=YOUR_KEY

Replace YOUR_KEY with your API key. Get a free key →

Connect in 60 Seconds

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"
);

Why BoltRPC for X

Flat pricing for exchange-integrated protocols

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.

OKX ecosystem traffic is volatile by design

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.

Polygon CDK architecture support

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.

Full EVM compatibility

Any Ethereum code works on X Layer with a single endpoint change. Standard Solidity contracts, ABIs, and JSON-RPC methods all apply.

WebSocket for real-time X Layer events

Subscribe to X Layer events in real time via WebSocket. Useful for tracking bridge events between OKX CEX and X Layer in real time.

One provider for multiple zkEVM chains

BoltRPC supports X Layer alongside Linea, Scroll, and zkSync Era. If you are building across zkEVM chains, one API key covers the full set.

Supported Methods

Full X JSON-RPC specification support.

Standard Methods

eth_call eth_getBlockByNumber eth_sendRawTransaction eth_getLogs eth_getTransactionReceipt

X RPC FAQ

Ready to get started?

Join thousands of developers building next-generation blockchain applications. Get started in minutes with our developer-friendly infrastructure.