# X Layer Testnet RPC and network details

Source: https://www.alchemy.com/rpc/xlayer-testnet

This is the primary testnet for X Layer, OKX's zkEVM L2. Developers can build and test EVM-compatible applications with free test tokens before deploying to mainnet.

## Network details

- Network: Testnet
- Chain ID: 1952
- Environment: Testnet
- Category: L2
- Native token: OKB
- Gas token: OKB

## Endpoints

- Alchemy RPC: https://xlayer-testnet.g.alchemy.com/v2/API_KEY
- Alchemy WebSocket: wss://xlayer-testnet.g.alchemy.com/v2/API_KEY

Replace API_KEY with a key from https://dashboard.alchemy.com/signup.

## Alchemy product support

Supported on X Layer Testnet: RPC API, Debug API, Bundler API, Websockets, Gas Manager.

Not currently supported: Transaction receipts API, Block Timestamp API, User OP Simulation API, Prices API, Trace API, Token API, NFT API, gRPC, Webhooks, Transfers API.

## Build on Alchemy

Alchemy offers X Layer testnet RPC endpoints, websockets, and a Debug API, so you can test and debug your code with reliable data before shipping to mainnet.

## Available networks

- X Layer Mainnet: https://www.alchemy.com/rpc/xlayer

## Links

- Official docs: https://web3.okx.com/xlayer/docs
- Website: https://www.okx.com/xlayer
- Block explorer: https://www.oklink.com/x-layer-testnet
