Skip to main content
X Layer Testnet (OKB) RPC Use Uniblock’s JSON-RPC endpoint to access X Layer Testnet (OKB) with low-latency routing and a single API surface across providers.

What is X Layer Testnet?

X Layer Testnet is an EVM-compatible testnet. It is a testnet for X Layer. Its ticker symbol is OKB.

What is the X Layer Testnet (OKB) JSON-RPC API?

The JSON-RPC API is the standard interface for reading chain state, sending transactions, and interacting with smart contracts where supported.

Making API requests

Send a POST request to https://api.uniblock.dev/uni/v1/json-rpc?chainId=1952. Include the JSON-RPC method and params in the request body.

Supported networks

NetworkSymbolTypeChain ID
X LayerOKBMainnet196
X Layer TestnetOKBTestnet1952

API reference

Browse the available method groups for this chain: