Nervos RPC Node
Preserve Assets

Connect to Nervos CKB, the Layer 1 optimized for long-term value preservation. Experience proof-of-work security, flexible Cell model, and sustainable state rent economics.

1 M+

Requests per Day

99.9 %

Network Uptime

< 80 ms

Average Response Time

24/7

Technical Support

Specification Nervos Network

Technical characteristics and available endpoints

Nervos CKB

Mainnet & Testnet Support

Network Common Knowledge Base
Protocol HTTPS / WSS
Uptime 99.9%
Consensus Proof-of-Work (NC-MAX)
Model Cell (Generalized UTXO)
Focus Asset Preservation

Nervos CKB (Common Knowledge Base) is a proof-of-work Layer 1 blockchain optimized for long-term asset preservation and secure value storage through innovative Cell model and sustainable state rent economics. Unlike blockchains optimized for high-frequency computation, CKB focuses on providing maximum security and economic sustainability for storing valuable assets and critical state. The Cell model generalizes Bitcoin's UTXO architecture while enabling flexible smart contract programmability through RISC-V virtual machine, creating a foundation for Nervos's layered architecture where L1 handles security and L2s manage computation.

Key capabilities:

  • Proof-of-work security (NC-MAX consensus)
  • Cell model (generalized UTXO)
  • Optimized for asset preservation
  • State rent economic model
  • Multi-layer architecture foundation
  • RISC-V virtual machine
  • Flexible smart contract programmability
  • Long-term sustainability focus
  • Growing Layer 2 ecosystem

🔗 RPC Endpoints

HTTPS
https://rpc.crypto-chief.com/nervos/{YOUR_API_KEY}
WSS
wss://rpc.crypto-chief.com/nervos/ws/{YOUR_API_KEY}

Replace {YOUR_API_KEY} with your actual API key from the dashboard.

What is a Nervos RPC Node?

Access asset preservation layer

A Nervos RPC node provides applications with access to CKB — a Layer 1 blockchain specifically designed for long-term asset preservation rather than high-frequency transaction processing. Through proof-of-work security comparable to Bitcoin and sustainable state rent economics, CKB creates infrastructure for storing valuable digital assets and critical state with maximum security guarantees. This represents a fundamentally different blockchain design philosophy prioritizing security and preservation over speed and computational throughput.

Why separate concerns matter

Monolithic blockchains force asset storage and computation onto the same layer, creating impossible tradeoffs between security and performance. Nervos's layered architecture separates concerns — CKB (Layer 1) focuses exclusively on security and asset preservation while Layer 2 solutions handle high-frequency computation and transactions. This enables maximum security for valuable assets while maintaining scalability through computational layers built on top.

Nervos CKB advantages:

  • Proof-of-work — Bitcoin-equivalent security model
  • Cell model — generalized UTXO with programmability
  • Asset focus — optimized for long-term value storage
  • State rent — sustainable storage economics
  • RISC-V VM — flexible smart contract execution
  • Layer foundation — base for multi-layer architecture

Cell model innovation

The Cell model represents a significant evolution beyond Bitcoin's UTXO while maintaining its verification advantages. Each Cell is a first-class state object containing data, code, and capacity (storage rights). Unlike account-based models where state is mutable, Cells are immutable — transactions consume existing Cells and create new ones. This provides Bitcoin-like parallel verification properties while enabling Turing-complete smart contract logic through RISC-V virtual machine execution.

How Cell model works:

  1. Cells are fundamental state units on CKB blockchain
  2. Each Cell contains data, code (lock/type scripts), and capacity
  3. Transactions consume input Cells and create output Cells
  4. Immutability enables parallel transaction verification
  5. RISC-V VM executes scripts for flexible programmability
  6. Cells can represent any digital asset or state

Sustainable state rent economics

CKB introduces state rent through its tokenomics design — users pay ongoing costs for occupying blockchain storage. One CKByte token represents the right to store one byte of data on CKB perpetually. This creates sustainable economics where storage isn't artificially free, properly aligning long-term incentives for network health. Unlike blockchains where state bloat eventually degrades performance and decentralization, CKB maintains economic sustainability through market-based storage pricing.

This economic model ensures CKB can preserve valuable assets for decades while remaining secure and decentralized.

Technical Documentation

Quick start for developers

Supported RPC Methods

Nervos CKB uses custom JSON-RPC methods designed for Cell model:

  • get_tip_block_number — get latest block height
  • get_block — retrieve block data by hash or number
  • get_transaction — get transaction details
  • get_live_cell — query specific live Cell
  • send_transaction — broadcast signed transaction
  • get_cells — search for Cells matching criteria
  • get_capacity_by_lock_hash — query total capacity
  • get_cells_capacity — get capacity for lock script

Code Examples

💻

JavaScript (CKB SDK) — Nervos Connection:

const { default: CKB } = require('@nervosnetwork/ckb-sdk-core');

// Connect to Nervos CKB
const ckb = new CKB('https://rpc.crypto-chief.com/nervos/YOUR_API_KEY');

// Get current block height
const tipNumber = await ckb.rpc.getTipBlockNumber();
console.log('CKB block height:', parseInt(tipNumber, 16));

// Get block details
const block = await ckb.rpc.getBlockByNumber(tipNumber);
console.log('Block hash:', block.header.hash);
console.log('Transactions:', block.transactions.length);

// Query live Cells (similar to UTXO)
const lockHash = '0x...';
const cells = await ckb.rpc.getLiveCellsByLockHash(
  lockHash,
  '0x0',  // from block
  '0x64'  // max results (100)
);

console.log(`Found ${cells.length} live Cells`);
cells.forEach((cell, index) => {
  console.log(`Cell ${index}:`);
  console.log('  Capacity:', parseInt(cell.cellOutput.capacity, 16) / 1e8, 'CKB');
  console.log('  Data length:', cell.data.length);
});

// Create transaction consuming and creating Cells
const rawTransaction = {
  version: '0x0',
  cellDeps: [],
  headerDeps: [],
  inputs: cells.slice(0, 2).map(cell => ({
    previousOutput: cell.outPoint,
    since: '0x0'
  })),
  outputs: [
    {
      capacity: '0x...',
      lock: { ...lockScript },
      type: null
    }
  ],
  outputsData: ['0x'],
  witnesses: []
};

const txHash = await ckb.rpc.sendTransaction(rawTransaction);
console.log('Transaction sent:', txHash);
💻

Python — CKB Cell Query:

import requests
import json

RPC_URL = 'https://rpc.crypto-chief.com/nervos/YOUR_API_KEY'

# Get latest block number
payload = {
    'jsonrpc': '2.0',
    'method': 'get_tip_block_number',
    'params': [],
    'id': 1
}

response = requests.post(RPC_URL, json=payload)
tip_hex = response.json()['result']
tip_number = int(tip_hex, 16)
print(f'CKB block height: {tip_number}')

# Query capacity by lock hash
lock_hash = '0x...'
payload = {
    'jsonrpc': '2.0',
    'method': 'get_capacity_by_lock_hash',
    'params': [lock_hash],
    'id': 2
}

response = requests.post(RPC_URL, json=payload)
result = response.json()['result']
capacity_hex = result['capacity']
capacity_shannon = int(capacity_hex, 16)
capacity_ckb = capacity_shannon / 1e8

print(f'Total capacity: {capacity_ckb} CKB')
print(f'Block number: {int(result["block_number"], 16)}')

# Get block details
payload = {
    'jsonrpc': '2.0',
    'method': 'get_block_by_number',
    'params': [hex(tip_number)],
    'id': 3
}

response = requests.post(RPC_URL, json=payload)
block = response.json()['result']
print(f'Block hash: {block["header"]["hash"]}')
print(f'Transactions in block: {len(block["transactions"])}')
💻

WebSocket — Monitor CKB Network:

const WebSocket = require('ws');
const ws = new WebSocket('wss://rpc.crypto-chief.com/nervos/ws/YOUR_API_KEY');

ws.on('open', () => {
  console.log('Connected to Nervos CKB');
  
  // Subscribe to new block headers
  ws.send(JSON.stringify({
    id: 1,
    jsonrpc: '2.0',
    method: 'subscribe',
    params: ['new_tip_header']
  }));
});

ws.on('message', (data) => {
  const message = JSON.parse(data);
  
  if (message.method === 'subscribe') {
    const header = message.params.result;
    const blockNumber = parseInt(header.number, 16);
    const timestamp = parseInt(header.timestamp, 16);
    
    console.log('\n=== New CKB Block ===');
    console.log('Block number:', blockNumber);
    console.log('Block hash:', header.hash);
    console.log('Timestamp:', new Date(timestamp).toISOString());
    console.log('Transactions root:', header.transactions_root);
  } else if (message.result) {
    console.log('Subscription ID:', message.result);
  }
});

ws.on('error', (error) => {
  console.error('WebSocket error:', error);
});

console.log('Monitoring Nervos CKB for new blocks...');

Nervos Best Practices

  • Cell Management: Understand Cell model for effective state management
  • Capacity Planning: Account for CKByte requirements and state rent economics
  • RISC-V Development: Leverage flexible VM for custom smart contract logic
  • Layer 2 Integration: Use CKB as secure base layer with L2 for computation
  • Asset Storage: Optimize for long-term value preservation use cases
  • Lock Scripts: Implement secure Cell ownership and transfer logic
  • Testing: Thoroughly test on Aggron testnet before mainnet deployment

Why choose us?

Asset preservation infrastructure

Asset Preservation

Infrastructure optimized for long-term value storage with <80ms RPC latency and proof-of-work security.

Proof-of-Work

Production infrastructure with NC-MAX PoW consensus achieving 99.9% uptime and Bitcoin-equivalent security.

Cell Analytics

Comprehensive monitoring of Cell creation/consumption, capacity utilization, state rent metrics, and network activity.

Global Infrastructure

Worldwide deployment supporting Nervos CKB's secure asset preservation network.

Sustainable Scaling

Infrastructure designed for long-term operation through sustainable state rent economic model.

Nervos Experts

24/7 support from engineers specialized in Cell model, RISC-V VM, state rent economics, and layered architecture.

Examples of Use

Build on preservation layer

Nervos CKB's focus on security and asset preservation enables tokenization platforms, long-term value storage, NFT infrastructure, and Layer 2 settlement.

Asset Tokenization

Create tokenized representations of valuable assets leveraging CKB's proof-of-work security and long-term preservation focus.

Digital Vaults

Build secure storage platforms for high-value digital assets requiring maximum security guarantees over long time periods.

NFT Infrastructure

Launch NFT platforms where ownership records are preserved long-term on proof-of-work blockchain with sustainable economics.

Layer 2 Settlement

Develop Layer 2 computational solutions using CKB as secure settlement and asset storage foundation layer.

Identity Systems

Create decentralized identity platforms leveraging CKB's immutable Cell model for credential storage.

Custody Solutions

Build institutional custody and vault services using CKB's security-focused architecture and state rent model.

Got questions?
we are here to help

Nervos CKB is a proof-of-work Layer 1 blockchain optimized for long-term asset preservation through Cell model, state rent economics, and focus on security over speed.

The Cell model generalizes Bitcoin's UTXO architecture with programmability — Cells are immutable state objects containing data, code, and capacity (storage rights).

State rent means users pay ongoing costs for occupying blockchain storage. One CKByte token represents perpetual right to store one byte, creating sustainable economics.

Proof-of-work provides maximum security for valuable long-term asset storage, similar to Bitcoin's security model and battle-tested over 15+ years.

RISC-V is CKB's virtual machine enabling flexible smart contract programming in any language that compiles to RISC-V instruction set.

CKByte (CKB) represents storage capacity rights on the blockchain — owning CKB grants right to occupy corresponding storage space perpetually.

CKB serves as secure Layer 1 for asset storage and settlement while Layer 2 solutions handle high-frequency computation and transactions.

Yes, CKB supports smart contracts through RISC-V VM with lock scripts and type scripts, offering more flexibility than traditional VMs.

Yes, we provide RPC access to both CKB mainnet and Aggron testnet for development and testing.

CKB is specifically optimized for asset preservation and security rather than computation throughput, ideal for valuable long-term digital asset storage.

Pricing that grows with your needs.

Free

Start building on Web3 — no credit card.

$0
  • 5 reqs/sec RPC
  • 5 reqs/min Unified API
  • Ultimate chains
  • WSS, Statistics
  • Community support

Pay for use

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

From $10
  • 400 reqs/sec RPC
  • 300 reqs/min Unified API
  • 10 reqs/min AML
  • EventStream
  • Ultimate chains
  • WSS, Whitelists, Statistics
  • Support portal

Subscription

From $500 monthly plus 20% extra value.

From $500
  • 700 reqs/sec RPC
  • 500 reqs/min Unified API
  • 5 reqs/sec AML
  • EventStream
  • Ultimate chains
  • WSS, Whitelists, Statistics
  • Support portal

Enterprise

Tailored solution for expert builders

Custom terms

All Subscription features plus:

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