Chains

Swap X Layer with SwapKit.

Move OKB and USDC between X Layer and native Bitcoin, Ethereum, Solana or any other SwapKit chain with one quote call and no bridge to integrate.

01

OKX's layer 2, connected to everything else.

X Layer is the EVM layer 2 from OKX, with OKB as its gas token. Many of its users come from the OKX exchange and wallet, and expect to move funds between X Layer and the major chains without friction.

SwapKit quotes OKB and USDC on X Layer against the whole catalogue, and the other side settles natively on its own chain.

02

X Layer in the API

Use these identifiers as sellAsset or buyAsset. Every quote compares the liquidity SwapKit can reach for X Layer, returns the best route for the amount, and settles in the native asset on the other side.

AssetSwapKit identifier
OKB (native) XLAYER.OKB
USDC XLAYER.USDC-0x74b7f16337b8972027f6196a17a631ac6de26d22
Terminal
curl -X POST "https://api.swapkit.dev/v3/quote" \
  -H "Content-Type: application/json" \
  -H "x-api-key: $SWAPKIT_API_KEY" \
  -d '{"sellAsset":"XLAYER.OKB","buyAsset":"BTC.BTC","sellAmount":"1","slippage":3}'

Coverage as of 2026-11-16. Whether a specific quote routes still depends on its size and current liquidity.

03

Building with X Layer

OKB as the native asset

The native asset is OKB, identified as XLAYER.OKB. Use it in sellAsset or buyAsset like any other gas token.

USDC in and out

USDC on X Layer can be swapped to stablecoins or native assets on other chains in a single quote.

04

Questions

Can OKX users move funds off X Layer in one step?

Yes. A single SwapKit quote takes OKB or USDC on X Layer to a native asset or stablecoin on another chain.

Which X Layer assets are listed?

OKB, USDC and the other X Layer tokens in the catalogue. Check tokens.swapkit.dev for the current list.

Can OKB be swapped to Bitcoin?

Yes. Quote XLAYER.OKB to BTC.BTC and the user receives native BTC.

Ship cross-chain swaps this week.

One integration for 10,000+ assets across 30+ chains, with limit orders and Hyperliquid deposits included. Non-custodial by design.