# Xai RPC Node  
Built for Web3 Gaming

Connect to Xai, the gaming-optimized Layer 3 on Arbitrum. Experience gas-free gaming transactions, seamless Web2-to-Web3 onboarding, and infrastructure purpose-built for games.

[Documentation](https://docs-rpc.crypto-chief.com/chains/xai) [Get a free endpoint ](https://auth.crypto-chief.com/registration)

##### 7 M+

Requests per Day

##### 99.9 %

Network Uptime

##### < 60 ms

Average Response Time

##### 24/7

Technical Support

## Specification Xai Network

Technical characteristics and available endpoints

![Xai](/img/protocols/xai.svg)

### Xai

Mainnet & Testnet Support

Chain ID 660279

Protocol HTTPS / WSS

Uptime 99.9%

Type Gaming Layer 3 (Arbitrum Orbit)

Focus Web3 Gaming

EVM Compatible Yes

Xai is a gaming-focused Layer 3 blockchain built on Arbitrum Orbit technology, designed specifically for Web3 gaming at scale. Enabling gas-free transactions for players, seamless Web2-to-Web3 onboarding without wallets, and infrastructure optimized for high-frequency gaming interactions, Xai removes the traditional barriers preventing mainstream gaming adoption of blockchain technology. Backed by Offchain Labs and Ex Populus, Xai brings AAA gaming to Web3.

#### Key capabilities:

- Gaming-first Layer 3 on Arbitrum
- Gas-free transactions for players
- No wallet required for onboarding
- High throughput for gaming interactions
- AAA game studio partnerships
- Full EVM compatibility
- Native game asset support (NFTs, tokens)
- Built on Arbitrum Orbit technology
- Decentralized node network for gaming

#### 🔗 RPC Endpoints

HTTPS

`https://rpc.crypto-chief.com/xai/{YOUR_API_KEY}`

WSS

`wss://rpc.crypto-chief.com/xai/ws/{YOUR_API_KEY}`

Replace {YOUR\_API\_KEY} with your actual API key from the dashboard.

## What is a Xai RPC Node?

Access gaming blockchain

A Xai RPC node provides applications with access to a blockchain purpose-built for Web3 gaming. Unlike general-purpose chains where gas fees and wallet complexity create friction, Xai enables gas-free player experiences and wallet abstraction, allowing gamers to play blockchain games without even knowing they're using blockchain technology.

### Why gaming needs dedicated infrastructure

Traditional blockchains fail for gaming due to **gas fees** (players won't pay for each action), **wallet complexity** (gamers won't manage private keys), and **throughput limitations** (games need high-frequency interactions). **Xai solves these problems** with gas-free transactions, seamless onboarding, and gaming-optimized infrastructure.

**Xai advantages:**

- **Gas-free gaming** — players pay nothing
- **No wallet friction** — play without crypto knowledge
- **High throughput** — handles gaming workloads
- **AAA partnerships** — real game studios building
- **Arbitrum security** — inherits L2 security
- **EVM compatible** — familiar development

### Layer 3 for gaming

Xai is a **Layer 3** — a blockchain built on top of Arbitrum (which itself is built on Ethereum). This layered approach enables Xai to optimize specifically for gaming while inheriting security from Arbitrum and Ethereum. Using **Arbitrum Orbit** technology, Xai customizes consensus, gas models, and execution for gaming use cases.

**Xai's Layer 3 architecture:**

1. Layer 1: Ethereum provides ultimate security
2. Layer 2: Arbitrum offers scalability and lower costs
3. Layer 3: Xai optimizes for gaming-specific needs
4. Games benefit from all three layers' advantages
5. Players enjoy gas-free, seamless experience

### Bringing AAA to Web3

Xai partners with **AAA game studios** to bring high-quality gaming to Web3\. By removing blockchain complexity from the player experience while giving studios powerful on-chain asset management, Xai enables the next generation of blockchain games that mainstream gamers will actually play.

This focus on user experience over crypto-native features positions Xai as infrastructure for gaming's blockchain future.

## Technical Documentation

Quick start for developers

### Supported RPC Methods

Xai supports all standard Ethereum JSON-RPC methods:

- **eth\_blockNumber** — current block number
- **eth\_getBalance** — XAI balance
- **eth\_call** — execute view functions
- **eth\_sendRawTransaction** — broadcast transactions
- **eth\_getTransactionReceipt** — transaction confirmation
- **eth\_getLogs** — event logs
- **eth\_gasPrice** — current gas price
- **eth\_estimateGas** — gas estimation
- **eth\_subscribe** — WebSocket subscriptions

### Code Examples

💻

#### JavaScript (ethers.js) — Xai Connection:

```
const { ethers } = require('ethers');

const provider = new ethers.JsonRpcProvider('https://rpc.crypto-chief.com/xai/YOUR_API_KEY');

// Verify we're on Xai
const network = await provider.getNetwork();
console.log('Chain ID:', network.chainId); // 660279

// Get XAI balance
const balance = await provider.getBalance('0x...');
console.log('XAI Balance:', ethers.formatEther(balance));

// Interact with game NFT contract
const GAME_NFT = '0x...';
const nftABI = [
  'function mint(address to, uint256 tokenId) external',
  'function ownerOf(uint256 tokenId) view returns (address)'
];
const gameNFT = new ethers.Contract(GAME_NFT, nftABI, wallet);

// Mint game asset (gas-free for player!)
const tx = await gameNFT.mint(playerAddress, tokenId);
await tx.wait();
console.log('Game asset minted on Xai!');
```

💻

#### Python (web3.py) — Xai Setup:

```
from web3 import Web3

w3 = Web3(Web3.HTTPProvider('https://rpc.crypto-chief.com/xai/YOUR_API_KEY'))

print('Connected to Xai:', w3.is_connected())
print('Chain ID:', w3.eth.chain_id)  # 660279
print('Latest block:', w3.eth.block_number)

# Gaming-optimized gas
gas_price = w3.eth.gas_price
print(f'Gas price: {gas_price}')

# Get XAI balance
balance = w3.eth.get_balance('0x...')
print(f'XAI: {balance / 1e18}')
```

💻

#### WebSocket — Monitor Gaming Activity:

```
const { ethers } = require('ethers');
const provider = new ethers.WebSocketProvider('wss://rpc.crypto-chief.com/xai/ws/YOUR_API_KEY');

// Monitor game transactions
provider.on('block', async (blockNumber) => {
  const block = await provider.getBlock(blockNumber);
  console.log(`Xai block ${blockNumber}: ${block.transactions.length} game txs`);
});

// Monitor NFT mints/transfers
const GAME_CONTRACT = '0x...';
const filter = {
  address: GAME_CONTRACT,
  topics: [ethers.id('Transfer(address,address,uint256)')]
};

provider.on(filter, (log) => {
  console.log('Game asset transfer on Xai:', log);
});
```

### Xai Best Practices

- **Gas Abstraction:** Implement gas-free player experience
- **Wallet Abstraction:** Hide wallet complexity from gamers
- **High Frequency:** Design for frequent game interactions
- **Asset Management:** Leverage on-chain NFTs and tokens
- **Web2 UX:** Maintain familiar gaming user experience
- **Testing:** Test thoroughly on Xai testnet

## Why choose us?

Gaming infrastructure

### Gaming-Optimized

Infrastructure purpose-built for Web3 gaming delivering &lt;60ms latency with gas-free player transactions.

### Arbitrum Security

Layer 3 infrastructure inheriting Arbitrum L2 security with 99.9% uptime for gaming workloads.

### Gaming Analytics

Monitor player activity, asset creation, game transactions, and ecosystem metrics.

### Global Gaming Network

Strategically deployed nodes ensuring low latency for worldwide gaming audiences.

### Gaming Scaling

Infrastructure designed to handle millions of gaming interactions and player onboarding.

### Gaming Specialists

24/7 support from engineers familiar with Web3 gaming, Arbitrum Orbit, and player onboarding.

## Examples of Use

Build Web3 games

Xai's gaming-optimized infrastructure and gas-free model enable AAA games, NFT gaming platforms, and applications bringing mainstream gamers to Web3.

#### AAA Blockchain Games

Build high-quality games with on-chain assets where players enjoy gas-free gameplay and seamless onboarding.

#### Play-to-Earn

Create play-to-earn games where asset ownership and rewards flow without gas friction for players.

#### NFT Gaming

Launch NFT-based games with tradable assets, items, and characters on gaming-optimized infrastructure.

#### Multiplayer Games

Develop multiplayer blockchain games handling high-frequency interactions with minimal latency.

#### Gaming Marketplaces

Build marketplaces for game assets where players trade NFTs and items across gaming ecosystems.

#### Esports Platforms

Create esports and tournament platforms with on-chain rewards, achievements, and reputation systems.

## Got questions?  
we are here to help

## What is Xai? 

Xai is a gaming-focused Layer 3 blockchain built on Arbitrum Orbit, designed for Web3 gaming with gas-free transactions and seamless onboarding.

## What is a Layer 3? 

Layer 3s are blockchains built on top of Layer 2s (like Arbitrum), enabling further specialization for specific use cases like gaming.

## Are gaming transactions really gas-free? 

Yes, Xai enables gas-free transactions for players through gas abstraction, where game operators cover costs instead of players.

## Do players need wallets? 

No! Xai supports wallet abstraction enabling players to interact with games without managing private keys or understanding crypto.

## Is Xai EVM compatible? 

Yes, Xai is fully EVM-compatible. Deploy Solidity smart contracts using standard Ethereum development tools.

## What is Arbitrum Orbit? 

Arbitrum Orbit is technology for building customizable Layer 3 chains on Arbitrum, enabling specialized blockchains like Xai.

## What games are building on Xai? 

Xai partners with AAA game studios and has multiple blockchain games in development leveraging its gaming infrastructure.

## What is the XAI token? 

XAI is Xai's native token used for gas fees (abstracted from players), governance, and network operations.

## Do you support Xai testnet? 

Yes, we provide RPC access to both Xai mainnet (Chain ID 660279) and testnet for development.

## How is Xai different from other gaming chains? 

Xai focuses on mainstream gaming UX with gas-free play and no wallet complexity, rather than crypto-native gaming experiences.

## Pricing that grows with your needs.

### Free

Start building on Web3 — no credit card.

##### $0

- 5 reqs/sec RPC
- 5 reqs/min Unified API
- 1 req/day AML
- Ultimate chains
- WSS, Statistics
- Community support

[Get started ](https://auth.crypto-chief.com/registration)

### Pay for use

Flexible pay-as-you-go for any workload.

##### From $10

- 400 reqs/sec RPC
- 300 reqs/min Unified API
- 5 reqs/sec AML
- EventStream
- Ultimate chains
- WSS, Whitelists, Statistics
- Support portal

[Get started](https://auth.crypto-chief.com/registration)

### Subscription

From $500 monthly plus 20% extra value.

##### From $500

- 400 reqs/sec RPC
- 300 reqs/min Unified API
- 5 reqs/sec AML
- EventStream
- Ultimate chains
- WSS, Whitelists, Statistics
- Support portal

[Get started ](https://auth.crypto-chief.com/registration)

### Enterprise

Tailored solution for expert builders

##### Custom terms

All Subscription features plus:

- Flexible rate limits
- Engineering team support
- Custom SLA
- Personal manager

[Contact Sales ](/contact/)
