xlayer

Discover X Layer, a blockchain platform designed for decentralized applications. Build secure and scalable dApps with its developer-friendly SDK.

The X Layer RPC documentation provides developers with the tools to interact with the X layer blockchain. X Layer is a high-performance Ethereum Layer 2 (L2) network built by OKX using the Polygon CDK and Optimism Stack technology. It offers fast, secure, and low-cost transactions (using OKB for gas) for decentralized applications (dApps). It boasts full EVM equivalence, allowing developers to deploy existing Solidity contracts with minimal changes.

Related: 📚 Supported Blockchains • 🌐 RPC Nodes xlayer • 🔗 Official xlayer Website

RPC Gateway for xlayer blockchain

Connect to xlayer and Fetch the Latest Block

This widget lets you instantly query the latest block height (or equivalent) for xlayer using a chain-specific RPC method like eth_blockNumber, getblockcount, or getBlockHeight. Useful for connectivity checks, uptime monitoring, or API testing.

Retrieve xlayer Node Status or Client Version via RPC

Use this pre-configured request to get version or status information for your connected xlayer node. Whether it's web3_clientVersion, getblockchaininfo, or chain-specific endpoints, the method is optimized for each supported blockchain.

Test xlayer RPC Methods in Postman

Explore and test xlayer blockchain methods instantly using our pre-configured Postman collection. Perfect for developers who want to experiment with xlayer RPC endpoints, validate API responses, or integrate xlayer into their applications.

How to use the xlayer Postman Collection

  1. Get your API key: Visit Tatum Dashboard to obtain your free API key
  2. Import the collection: Click the "Run in Postman" button below to import the xlayer collection
  3. Configure your environment: Update the gateway-api-key variable in the Tatum Gateway environment
  4. Start testing: Execute any xlayer RPC method and see real-time responses