Networks

Data, prices and trade plans come from X Layer mainnet; payments settle on X Layer testnet. Why the split, and how to tell which is which.

WhatNetworkDetails
Market data, token state, pool state, trade calldataX Layer mainnet, eip155:196Uniswap v3 factory, QuoterV2, SwapRouter02; RPC https://xlayerrpc.okx.com with https://rpc.xlayer.tech as fallback
x402 paymentsX Layer testnet, eip155:1952USD₮0 0x9e29b3aada05bf2d2c827af80bd28dc0b9b4fb0c, 6 decimals; RPC https://testrpc.xlayer.tech
Reference pricesOKX spotXNVDA-USDT, XSPY-USDT, XTSLA-USDT public order books

Why the split#

Real xStocks and real liquidity only exist on mainnet, so every read and every generated transaction points there. Payments settle on testnet so anyone can try every tool with faucet funds and nobody spends real money on a demo.

Mainnet payments#

Mainnet payments are configured and switched off. The asset would be USD₮0 on X Layer mainnet, 0x779ded0c9e1022225f8e0630b35a9b54be713736. Turning them on is a configuration change (PAYMENT_NETWORK=eip155:196), not a code change.

How to tell#

  • Every paid response carries data.network: "eip155:196".
  • Every receipt names eip155:1952.
  • The catalog lists both under networks, including which facilitator settles payments.

Last updated 25 Sep 2026

Roundlot

Pay-per-call market data and trade plans for tokenized equities on X Layer. Built for OKX Dev Day 2026.

Payments settle on X Layer testnet. Data and trade plans are X Layer mainnet. Not investment advice.