Solana

GetBlock Launches Dedicated Solana Stack.Low-Latency Solana Infrastructure for HFT & MEV.

X Layer RPC for API connection of blockchain nodes for Web3 developmentConnect your Web3 app to X Layer (OKB) blockchain

okb

X-Layer

OKB
Your free endpoint
key-01

https://go.getblock.io/your-access-token

copy-03

Access level

shared

shared

dedicated

dedicated

Networks

Mainnet

Testnet

APIs & Addons

JSON-RPC

WebSocket

To start building with GetBlock create a free access token in your account

Get access to X Layer RPC nodes in a few clicks

Here you can create a X Layer API endpoint for your project. With GetBlock you don’t need to know how to run X Layer RPC nodes as they are already available for mainnet and testnets.

X Layer RPC method sample

Mainnet height0
chevron-down

Request

copy-07
1
2
3
4
5
6
7
8
curl --location --request POST https://go.getblock.io/<ACCESS-TOKEN>--header 'Content-Type: application/json'--data-raw '{"jsonrpc": "2.0","method": "eth_blockNumber","params": [],"id": "getblock.io"}'

Run fast with OKB RPC nodes

Deploying your DeFi protocol, crypto exchange, or Play-to-Earn application on X Layer has never been easier

  • STEP ONE

    Get an endpoint

    Create an account for free and access 100+ chains

  • STEP TWO

    Start sending requests

    Check out our docs on all available methods

  • STEP THREE

    Manage your connection

    Change packages, switch between networks, add new chains

Trusted by Web3 innovators from all over the world

chain_linkbinancesimple_swapcovalent

Flexible pricing that matches your scale

Grow and scale your business whenever you need it. Try X-Layer RPC provider
with the best services and plans

Monthly
Annually

20% OFF

Free

$

0

/ month

50K CU

20 RPS

2 Access Tokens

check_blue

All supported chains

minus_gray

SLA

minus_gray

Statistics

minus_gray

Archive shared

minus_gray

Team account

minus_gray

Custom AppChains

Starter

$

39

/ month
Save   $10   every month

50M CU

$0.78 / 1M CU

100 RPS

10 Access Tokens

check_blue

All supported chains

check_blue

24/5 Support

check_blue

Statistics

check_blue

Archive shared

minus_gray

Team account

minus_gray

Custom AppChains

Advanced

$

159

/ month
Save   $40   every month

220M CU

$0.72 / 1M CU

300 RPS

25 Access Tokens

check_blue

All supported chains

check_blue

24/5 Support

check_blue

Statistics

check_blue

Archive shared

minus_gray

Team account

minus_gray

Custom AppChains

POPULAR CHOICE

Pro

$

399

/ month
Save   $100   every month

600M CU

$0.67 / 1M CU

500 RPS

50 Access Tokens

check_blue

All supported chains

check_blue

24/7 Support

check_blue

Statistics

check_blue

Archive shared

check_blue

Team account

minus_gray

Custom AppChains

Enterprise

Starting at:
$

799

/ month
Save   $200   every month

Custom CU

Custom RPS

Custom Access Tokens

check_blue

All supported chains

check_blue

24/7 Support

check_blue

Advanced statistics

check_blue

Archive shared

check_blue

Team account

check_blue

Custom AppChains

Dedicated node

Private server with custom settings

Requests

Unlimited

Rate Limit

Unlimited

Data

Archive

Starting at:

$

1000

/ month
dedicated node image

X Layer RPC by GetBlock

What types of OKB RPC nodesdoes GetBlock.io provide?

Our suite of OKB RPC nodes is tailored to exactly what your project requires. Use our OKB API to quickly integrate and access the OKX X Layer data you need.

  • X Layer Full Node

    Interact with the latest state of the blockchain in real time: read data, send transactions, deploy smart contracts. OKX X Layer full nodes are essential for building decentralized applications.

  • X Layer Archive Node

    Need historical blockchain data for in-depth analytics or time-travel debugging? Our OKB archive nodes, with their complete history of all state changes, can serve such requests. Get all the data you need whenever you need it to support your audits, research, or development needs. Archive nodes for certain blockchains might be available by request.

X Layer (OKB) Nodes FAQ

  • What is X Layer (OKB) RPC?

    chevron-right
  • How can I use OKB RPC to connect to a blockchain node?

    chevron-right
  • Which programming languages or libraries support X Layer (OKB) RPC?

    chevron-right
  • What are some common X Layer (OKB) RPC methods?

    chevron-right
  • What is X Layer (OKB) API?

    chevron-right
  • How can I access the OKB API?

    chevron-right
  • Testnet vs mainnet nodes: What's the difference?

    chevron-right
  • Dedicated vs shared OKB RPC nodes: Are they different?

    chevron-right

OKB RPC: What is special about it?

X Layer by OKX is a novel zkEVM L2 built on the top of Ethereum. Technically, it is a high-performance Validium rollup with super-low fees developed by veterans of the EVM ecosystem.

  • Introduced in 2024, X Layer - similarly to Polygon zkEVM, Astar zkEVM, Cronos zkEVM and zkSync - should be referred to as a EVM-compatible L2 blockchain fueled by zero-knowledge proofs (ZKPs).

  • X Layer is a product of collaboration between OKX and Polygon supercharged with multi-purpose Polygon's CDK.

  • Compared to traditional ZK rollups of the first generation, X Layer’s Validium offers 100x lower fees and more resource-efficient L1/L2 interaction;

  • Leveraging Solidity and Vyper, X Layer is fully EVM compatible which allows the vast majority of Ethereum projects to migrate from Ethereum, BNB Smart Chain, Polygon chains without altering a single line of code.

  • X Layer is backed by the OKX ecosystem token OKB which is accepted as gas currency together with other assets.

GetBlock is one of the first RPC node providers to start offering OKB nodes APIs. GetBlock connects dApps to X Layer (OKB) via JSON-RPC and WebSockets (WS) methods to ensure flexible developer experience.

GetBlock Development API:Your perfect gateway to Web3

  • Focus on building with OKB RPC; GetBlock does most of the legwork

    As long as you work with GetBlock’s OKB nodes, you don’t need to spend resources on servers, DevOps teams and so on: we offer ready-made blockchain nodes solutions that can be activated in minutes.

  • Different use cases, different OKB APIs

    Our users can customize their OKB RPC nodes endpoints regardless of their previous experience with GetBlock’s intuitive interface and premium-level customer support.