Documentation

Everything you need to integrate LitVM RPC into your project.

Getting Started

LitVM RPC Hub provides JSON-RPC access to the LitVM RPC PRO network. You can start using the public endpoint immediately — no registration required.

Quick access: The public endpoint https://rpc-litvm.pro works without an API key. The Free tier allows up to 10 req/s, 10 CU/s, and 50,000 CU per day.

Network Details

Network NameLitVM RPC PRO
Chain ID4441
Gas TokenzkLTC
HTTP RPChttps://rpc-litvm.pro
Block Explorerhttps://explorer.testnet.liteforge.zeeve.net

Get Your API Key

API keys are issued via wallet signature — no email or password needed.

  1. Connect Wallet

    Go to the Dashboard and click "Connect Wallet". MetaMask, Rabby, or any EIP-1193 wallet works.

  2. Sign Message

    Sign the authentication message. This proves wallet ownership without spending gas.

  3. Receive API Key

    Your key is generated instantly. Store it — the recommended way to use it is the X-API-Key header. Avoid putting API keys in URLs because they leak into logs and browser history.

  4. Make Your First Request

    Use the key to call any supported RPC method with higher rate limits.

Authentication

Pass your API key using the request header or embed it in the URL path:

MethodExample
Header X-API-Key: your-key-here
URL path https://rpc-litvm.pro/key/your-key-here

Without a key, requests are served at the Free tier. With an invalid or expired key, the gateway returns a -32001 error.

Tiers

TierReq/sCU/sCU/dayAPI keysPrice
Free default 10 10 50,000 0 $0
Builder 50 40 150,000 3 0.05 zkLTC/mo
Trader 150 150 750,000 10 0.1 zkLTC/mo
Bot no cache 300 500 5,000,000 5 0.2 zkLTC/mo
Infrastructure 500 600 5,000,000 25 0.5 zkLTC/mo
Enterprise 1,000 1,500 15,000,000 50 1 zkLTC/mo

All tiers use HTTP RPC. The monthly CU figures on the pricing page are 30-day estimates based on the daily CU limit.

Supported txpool_* and debug_trace* methods require Trader or higher and a private RPC endpoint.

Making Requests

LitVM RPC accepts standard JSON-RPC 2.0 requests over HTTP POST.

Request Format

JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "eth_blockNumber",
  "params": [],
  "id": 1
}

Batch Requests

Send an array of requests in a single HTTP call. The batch size depends on your tier and the endpoint you use. Private RPC requires an API key.

TierPublic RPCPrivate RPC
Free55
Builder1020
Trader1050
Bot1050
Infrastructure10100
Enterprise101,000
Batch Example
[
  {"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1},
  {"jsonrpc":"2.0","method":"eth_gasPrice","params":[],"id":2}
]

Code Examples

cURL

Shell
curl -X POST https://rpc-litvm.pro \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_KEY" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

ethers.js (v6)

JavaScript
import { JsonRpcProvider } from "ethers";

const provider = new JsonRpcProvider("https://rpc-litvm.pro", {
  chainId: 4441,
  name: "litvm-liteforge",
});

const block = await provider.getBlockNumber();
console.log("Latest block:", block);

const balance = await provider.getBalance("0xYourAddress");
console.log("Balance:", balance.toString());

viem

JavaScript
import { createPublicClient, http, defineChain } from "viem";

const litvm = defineChain({
  id: 4441,
  name: "LitVM RPC PRO",
  nativeCurrency: { name: "zkLTC", symbol: "zkLTC", decimals: 18 },
  rpcUrls: {
    default: { http: ["https://rpc-litvm.pro"] },
  },
  blockExplorers: {
    default: { name: "Explorer", url: "https://explorer.testnet.liteforge.zeeve.net" },
  },
});

const client = createPublicClient({
  chain: litvm,
  transport: http(),
});

const blockNumber = await client.getBlockNumber();
const gasPrice = await client.getGasPrice();

web3.js

JavaScript
import Web3 from "web3";

const web3 = new Web3("https://rpc-litvm.pro");

const block = await web3.eth.getBlockNumber();
const gasPrice = await web3.eth.getGasPrice();

console.log("Block:", block, "Gas:", gasPrice);

Python (web3.py)

Python
from web3 import Web3

w3 = Web3(Web3.HTTPProvider("https://rpc-litvm.pro"))

print("Connected:", w3.is_connected())
print("Block:", w3.eth.block_number)
print("Gas price:", w3.eth.gas_price)

Gas Oracle

The Gas Oracle endpoint returns live EIP-1559 fee recommendations derived from the last 10 blocks. No API key needed — responses are cached for 10 seconds and served with Cache-Control: public, max-age=10.

Endpoint
GET https://rpc-litvm.pro/api/gas
Response
{
  "timestamp": 1781355126141,
  "block": "0x11e3c58",
  "baseFee": "0x989680",
  "baseFeeGwei": 0.01,
  "tiers": {
    "safe":     { "maxFeePerGas": "0xb71b00", "maxPriorityFeePerGas": "0xf4240",  "maxFeePerGasGwei": 0.012, "maxPriorityFeePerGasGwei": 0.001, "estimatedSeconds": 30 },
    "standard": { "maxFeePerGas": "0x14fb180","maxPriorityFeePerGas": "0x989680", "maxFeePerGasGwei": 0.022, "maxPriorityFeePerGasGwei": 0.01,  "estimatedSeconds": 15 },
    "fast":     { "maxFeePerGas": "0x3dfd240","maxPriorityFeePerGas": "0x2faf080","maxFeePerGasGwei": 0.065, "maxPriorityFeePerGasGwei": 0.05,  "estimatedSeconds": 5  }
  }
}
FieldDescription
baseFeeGweiNext block base fee in Gwei
tiers.safeLow priority, cheaper — confirmation in ~30s
tiers.standardTypical priority — confirmation in ~15s
tiers.fastHigh priority — confirmation in ~5s
maxFeePerGasReady-to-use hex value for eth_sendTransaction
maxPriorityFeePerGasReady-to-use hex tip for eth_sendTransaction

dApp — Auto gas before transaction

Fetch the oracle before sending a transaction and pass the hex values directly into the request. No manual Gwei math needed.

JavaScript — with MetaMask / EIP-1193 wallet
async function sendWithAutoGas(to, data) {
  // 1. Get current fee recommendations
  const gas = await fetch("https://rpc-litvm.pro/api/gas").then(r => r.json());

  // 2. Pick tier: "safe" | "standard" | "fast"
  const tier = gas.tiers.standard;

  // 3. Send — maxFeePerGas and maxPriorityFeePerGas are ready-to-use hex strings
  const txHash = await window.ethereum.request({
    method: "eth_sendTransaction",
    params: [{
      from:                 await ethereum.request({ method: "eth_requestAccounts" }).then(a => a[0]),
      to,
      data,
      maxFeePerGas:         tier.maxFeePerGas,
      maxPriorityFeePerGas: tier.maxPriorityFeePerGas,
    }],
  });

  console.log("Sent:", txHash);
  return txHash;
}
JavaScript — with ethers.js v6
import { JsonRpcProvider, Wallet, parseUnits } from "ethers";

const provider = new JsonRpcProvider("https://rpc-litvm.pro");
const signer = new Wallet("0xYOUR_PRIVATE_KEY", provider);

async function sendWithAutoGas(to, value) {
  const gas = await fetch("https://rpc-litvm.pro/api/gas").then(r => r.json());
  const tier = gas.tiers.standard;

  const tx = await signer.sendTransaction({
    to,
    value,
    maxFeePerGas:         tier.maxFeePerGas,
    maxPriorityFeePerGas: tier.maxPriorityFeePerGas,
  });

  console.log("Tx hash:", tx.hash);
  await tx.wait();
  console.log("Confirmed in block:", tx.blockNumber);
}
JavaScript — with viem
import { createWalletClient, http, defineChain, parseEther } from "viem";
import { privateKeyToAccount } from "viem/accounts";

const litvm = defineChain({
  id: 4441,
  name: "LitVM RPC PRO",
  nativeCurrency: { name: "zkLTC", symbol: "zkLTC", decimals: 18 },
  rpcUrls: { default: { http: ["https://rpc-litvm.pro"] } },
});

const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const client = createWalletClient({ account, chain: litvm, transport: http() });

async function sendWithAutoGas(to, value) {
  const gas = await fetch("https://rpc-litvm.pro/api/gas").then(r => r.json());
  const tier = gas.tiers.standard;

  const hash = await client.sendTransaction({
    to,
    value,
    maxFeePerGas:         BigInt(tier.maxFeePerGas),
    maxPriorityFeePerGas: BigInt(tier.maxPriorityFeePerGas),
  });

  console.log("Tx hash:", hash);
}

Bot / Script — Dynamic gas under load

Bots that send many transactions benefit from dynamically adjusting gas based on network conditions. Poll the oracle periodically and switch tiers based on urgency.

Python — web3.py
import requests
from web3 import Web3

RPC = "https://rpc-litvm.pro"
w3  = Web3(Web3.HTTPProvider(RPC))

def get_gas(tier="standard"):
    """Fetch live fee recommendation. tier: 'safe' | 'standard' | 'fast'"""
    data = requests.get(f"{RPC}/api/gas").json()
    t = data["tiers"][tier]
    return {
        "maxFeePerGas":         int(t["maxFeePerGas"], 16),
        "maxPriorityFeePerGas": int(t["maxPriorityFeePerGas"], 16),
    }

def send_tx(private_key, to, value_wei, urgency="standard"):
    account = w3.eth.account.from_key(private_key)
    gas = get_gas(urgency)

    tx = {
        "from":               account.address,
        "to":                 to,
        "value":              value_wei,
        "nonce":              w3.eth.get_transaction_count(account.address),
        "gas":                21000,
        "maxFeePerGas":         gas["maxFeePerGas"],
        "maxPriorityFeePerGas": gas["maxPriorityFeePerGas"],
        "chainId":            4441,
        "type":               2,
    }

    signed = account.sign_transaction(tx)
    tx_hash = w3.eth.send_raw_transaction(signed.raw_transaction)
    receipt = w3.eth.wait_for_transaction_receipt(tx_hash)

    print(f"Confirmed in block {receipt['blockNumber']}, status={receipt['status']}")
    return receipt

# Usage:
# Normal bot cycle — standard speed
send_tx(PRIVATE_KEY, RECIPIENT, w3.to_wei(0.01, "ether"), urgency="standard")

# Time-sensitive arb — fast
send_tx(PRIVATE_KEY, RECIPIENT, w3.to_wei(0.01, "ether"), urgency="fast")
Python — requests only (no web3.py)
import requests

def get_gas_oracle(tier="standard"):
    res = requests.get("https://rpc-litvm.pro/api/gas").json()
    t   = res["tiers"][tier]
    return {
        "maxFeePerGasHex":         t["maxFeePerGas"],
        "maxPriorityFeePerGasHex": t["maxPriorityFeePerGas"],
        "gwei":                    t["maxFeePerGasGwei"],
        "estimatedSeconds":        t["estimatedSeconds"],
    }

# Example: pick fast tier when latency matters
g = get_gas_oracle("fast")
print(f"Fast: {g['gwei']} Gwei — confirms in ~{g['estimatedSeconds']}s")
# → Fast: 0.065 Gwei — confirms in ~5s

Tip: The oracle response is cached for 10 seconds server-side. Fetching it every transaction is safe — you won't be rate limited by this endpoint even on the Free tier.

Price Oracle

Live USD prices sourced from DIA's testnet oracle adapters. Cached server-side for 60 seconds — no API key needed.

Endpoint
GET https://rpc-litvm.pro/api/price/:symbol
SymbolFeed
LTCLTC/USD
BTCBTC/USD
ETHETH/USD
USDCUSDC/USD
USDTUSDT/USD
XAUGold/USD
XAGSilver/USD
WTIWTI Crude/USD
XBRBrent Crude/USD
Response
{
  "symbol": "LTC",
  "price": 92.4381,
  "priceRaw": "92438100000000000000",
  "updatedAt": 1781355000,
  "roundId": "1"
}

Note: These are testnet adapter addresses. DIA's heartbeat is 1 hour with 0.5-1% deviation triggers — our 60s cache is well inside that window, so the value here always reflects the latest on-chain round.

Arbitrum Orbit Specifics

LitVM runs on Arbitrum Nitro (Orbit chain). A few things behave differently from a plain EVM chain — see the full breakdown in LitVM's EVM Differences doc. The two most common gotchas:

block.number vs the real L2 block

Solidity's block.number and this gateway's eth_blockNumber return an approximate L1 block, not LitVM's own block number. For the real L2 block number, use our convenience endpoint (backed by the ArbSys precompile at 0x64):

Endpoint
GET https://rpc-litvm.pro/api/arb/l2-block-number
Response
{ "l2BlockNumber": "0x29d3e93", "l2BlockNumberDecimal": 43596435 }

Two-dimensional gas

Every transaction pays for L2 execution and L1 data posting separately. A block's raw gasLimit field shows an artificially large number to accommodate this — the real per-block execution cap is 32,000,000; always read gasUsed, not gasLimit, when analyzing a block. To see the current price breakdown (backed by the ArbGasInfo precompile at 0x6c):

Endpoint
GET https://rpc-litvm.pro/api/arb/gas-info
Response
{
  "perL2TxWei": "8783992960",
  "perL1CalldataByteWei": "16000042",
  "perStorageAllocationWei": "483839852573",
  "perArbGasBaseWei": "10000000",
  "perArbGasCongestionWei": "96000000",
  "perArbGasTotalWei": "106000000",
  "l1BaseFeeEstimateWei": "1000010"
}

Extra block fields

These fields already come back in the raw response of eth_getBlockByNumber / eth_getBlockByHash — this gateway does not strip them:

FieldDescription
l1BlockNumberApproximate L1 block number for this L2 block
sendCountNumber of L2-to-L1 messages since genesis
sendRootMerkle root of the outbox tree

Extra transaction types

Alongside standard Ethereum types, expect these Arbitrum-specific type values on eth_getTransactionByHash/receipts:

TypeNameDescription
100DepositETH deposit from L1 via bridge
101UnsignedL1 user calling L2 contract via bridge
102ContractL1 contract calling L2 contract
104RetryRetryable ticket redemption
105SubmitRetryableRetryable ticket submission
106InternalArbOS internal transaction

Warning: Don't use blockhash() for randomness — on Arbitrum Orbit chains it is not cryptographically secure. Use an oracle service instead.

Address History

JSON-RPC has no method that lists the transactions of an address. GET /api/address/:address/txs returns them newest first, 50 per page, from the LiteForge indexer. Requires an API key. Each page costs 20 CU and counts toward your rate limit; failed lookups are not charged.

Request
curl -H "X-API-Key: YOUR_KEY" \
  "https://rpc-litvm.pro/api/address/0xYourAddress/txs?filter=from"
Query paramDescription
filterOptional. from = sent by the address, to = received by it
cursorOptional. nextCursor from the previous page
Response
{
  "address": "0xd3e8...84bc",
  "items": [
    {
      "hash": "0x1e...",
      "blockNumber": 63783945,
      "timestamp": "2026-10-23T07:51:54.000000Z",
      "from": "0xd3e8...84bc",
      "to": "0x0000...8ba3",
      "value": "0",
      "fee": "482110000000",
      "status": "success",
      "method": "0x87517c45",
      "types": ["contract_call"],
      "createdContract": null
    }
  ],
  "nextCursor": "eyJibG9ja19udW1iZXIiOjYzNzgzOTQ1fQ"
}

value and fee are in wei. status is success, failed or pending. nextCursor is null on the last page.

Notifications

Paid plans can receive alerts by webhook, Telegram, or both. Configure them in the Dashboard under Notifications.

Events

EventWhen
quota.thresholdDaily CU usage reaches 80% and 100% of your plan limit. At most once per threshold per day. Can be turned off.
address.activityA watched address sends or receives a native transaction, an ERC-20 transfer, or an ERC-721 transfer. Events are batched every few seconds.
testYou press Send Test in the dashboard.

Watched address limits

BuilderTraderBotInfrastructureEnterprise
52050100250

Webhooks

Each event is sent as a POST with a JSON body to your HTTPS URL (port 443, public host). Respond with any 2xx status within 5 seconds. Failed deliveries are retried after 1, 5 and 25 seconds. After 10 failed deliveries in a row, webhooks pause for 15 minutes. Redirects are not followed.

HeaderValue
X-LitVM-EventEvent type, e.g. address.activity
X-LitVM-DeliveryUnique delivery ID. The same ID is reused on retries, so use it to skip duplicates.
X-LitVM-TimestampUnix time in seconds when the request was signed
X-LitVM-Signaturesha256= + hex HMAC-SHA256 of timestamp + "." + raw body, keyed with your signing secret
address.activity body
{
  "id": "activity:0xyourwallet:63783940-63783945",
  "type": "address.activity",
  "createdAt": "2026-10-25T10:00:00.000Z",
  "wallet": "0xyourwallet",
  "data": {
    "network": "eip155:4441",
    "fromBlock": 63783940,
    "toBlock": 63783945,
    "truncated": false,
    "events": [
      {
        "id": "0xabc...:tx:0xwatched",
        "kind": "tx",
        "address": "0xwatched",
        "label": "hot wallet",
        "direction": "out",
        "blockNumber": 63783942,
        "timestamp": 1792925000,
        "txHash": "0xabc...",
        "from": "0xwatched",
        "to": "0xrecipient",
        "value": "1000000000000000000",
        "status": "success"
      },
      {
        "id": "0xdef...:3:0xwatched",
        "kind": "token_transfer",
        "standard": "erc20",
        "token": "0xtoken",
        "address": "0xwatched",
        "label": "hot wallet",
        "direction": "in",
        "blockNumber": 63783944,
        "timestamp": 1792925001,
        "txHash": "0xdef...",
        "from": "0xsender",
        "to": "0xwatched",
        "value": "2500000",
        "status": "success"
      }
    ]
  }
}

direction is in, out or self. value is in wei for native transfers and in raw token units for ERC-20. ERC-721 events have standard: "erc721", tokenId and value: "1". One delivery holds up to 100 events; truncated is true if more matched.

quota.threshold data
{ "threshold": 0.8, "tier": "trader", "used": 600000, "limit": 750000, "remaining": 150000, "resetsAt": "2026-10-26T00:00:00.000Z" }

Verifying signatures

Compute the HMAC over the raw request body before parsing it, compare in constant time, and reject timestamps older than 5 minutes.

Node.js / Bun
import { createHmac, timingSafeEqual } from "crypto";

function verifyLitvmWebhook(rawBody, headers, secret) {
  const timestamp = headers["x-litvm-timestamp"];
  const signature = headers["x-litvm-signature"] || "";
  if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false;

  const expected = "sha256=" + createHmac("sha256", secret)
    .update(`${timestamp}.${rawBody}`)
    .digest("hex");
  const a = Buffer.from(signature);
  const b = Buffer.from(expected);
  return a.length === b.length && timingSafeEqual(a, b);
}

The signing secret is shown once when you save a webhook or press Rotate Secret. Changing the URL, secret, Telegram link or quota alerts requires a wallet signature; managing watched addresses only needs your API key.

Telegram

Press Link Telegram in the dashboard, sign the message, and press Start in the bot chat that opens. The link is valid for 10 minutes and works once. Send /stop to the bot to unsubscribe. Telegram messages show up to 10 events per batch with explorer links.

TypeScript / JavaScript SDK

The official @litvm/sdk package wraps the gateway into a typed viem transport. Drop it into any EVM project — no manual fetch, no header wrangling.

npm: npm install @litvm/sdk viem  ·  Works with viem ≥ 2.0, wagmi, RainbowKit, ethers v6 adapter.

Installation

Shell
npm install @litvm/sdk viem

Public access (no key)

Free tier — 10 req/s, no registration needed.

TypeScript
import { createPublicClient } from "viem";
import { liteforgeTestnet, litvmHttp } from "@litvm/sdk";

const client = createPublicClient({
  chain: liteforgeTestnet,
  transport: litvmHttp(),
});

const blockNumber = await client.getBlockNumber();
const balance = await client.getBalance({ address: "0xYourAddress" });

Authenticated (with API key)

Unlocks /private-rpc, higher rate limits, and full method access.

TypeScript
import { createPublicClient } from "viem";
import { liteforgeTestnet, litvmHttp } from "@litvm/sdk";

const client = createPublicClient({
  chain: liteforgeTestnet,
  transport: litvmHttp({ apiKey: "lrpc_your_key_here" }),
});

const block = await client.getBlock({ blockTag: "latest" });

Compute Unit tracking

Every response carries X-CU-* headers. Pass onCu to track usage in real time.

TypeScript
import { createPublicClient } from "viem";
import { liteforgeTestnet, litvmHttp } from "@litvm/sdk";
import type { CuInfo } from "@litvm/sdk";

const client = createPublicClient({
  chain: liteforgeTestnet,
  transport: litvmHttp({
    apiKey: "lrpc_your_key_here",
    onCu: (cu: CuInfo) => {
      console.log(`CU used: ${cu.used} / ${cu.limit}  (this call: ${cu.cost})`);
    },
  }),
});

Chain object

Use liteforgeTestnet anywhere a viem chain is expected — wagmi config, wallet connectors, ethers adapter.

ExportTypeDescription
liteforgeTestnetChainChain definition (id 4441)
litvmHttp(opts?)TransportHTTP transport with optional API key and CU callback
CuInfoType{ cost, limit, used, remaining }

MCP Server

MCP (Model Context Protocol) is an open protocol by Anthropic that lets AI assistants — Claude Desktop, Cursor, Windsurf, and any other MCP client — call tools and query data through a standardized interface. The LitVM MCP Server gives your AI direct access to the LiteForge node: ask for balances, blocks, gas prices, and account analytics right from chat.

Available on: Builder, Trader, Bot, Infrastructure, and Enterprise tiers. Blockchain tools also work on Free tier (no API key needed).

Installation

The MCP Server ships with the gateway — install Bun, then point your MCP client at the src/mcp.ts file from the project directory.

Prerequisite: Install Bun — curl -fsSL https://bun.sh/install | bash

Claude Desktop

Edit the Claude Desktop config file — create it if it doesn't exist:

claude_desktop_config.json
{
  "mcpServers": {
    "litvm-rpc": {
      "command": "bun",
      "args": ["run", "/absolute/path/to/src/mcp.ts"],
      "env": {
        "MCP_API_KEY": "lrpc_your_key_here",
        "RPC_BASE_URL": "https://rpc-litvm.pro"
      }
    }
  }
}

Replace /absolute/path/to/src/mcp.ts with the real path on your machine. Restart Claude Desktop — tools appear automatically.

Cursor

Open Settings → Features → MCP Servers → Add new MCP server and paste:

Cursor MCP Config
{
  "name": "litvm-rpc",
  "command": "bun",
  "args": ["run", "/absolute/path/to/src/mcp.ts"],
  "env": {
    "MCP_API_KEY": "lrpc_your_key_here",
    "RPC_BASE_URL": "https://rpc-litvm.pro"
  }
}

Windsurf

Edit ~/.codeium/windsurf/mcp_config.json:

mcp_config.json
{
  "mcpServers": {
    "litvm-rpc": {
      "command": "bun",
      "args": ["run", "/absolute/path/to/src/mcp.ts"],
      "env": {
        "MCP_API_KEY": "lrpc_your_key_here",
        "RPC_BASE_URL": "https://rpc-litvm.pro"
      }
    }
  }
}

Environment Variables

VariableDefaultDescription
RPC_BASE_URLhttp://localhost:3000URL of the RPC gateway
MCP_API_KEYemptyYour lrpc_... key — enables private endpoint and account tools

Available Tools

Blockchain — work without an API key (public endpoint):

ToolDescription
eth_blockNumberLatest block number
eth_getBalanceAddress balance in wei and LTC
eth_getTransactionByHashTransaction details by hash
eth_getTransactionReceiptReceipt: status, gas used, logs
eth_getBlockByNumberBlock data by number or tag
eth_callRead-only contract call (view/pure)
eth_estimateGasGas estimate for a transaction
eth_getCodeContract bytecode at address
eth_getTransactionCountNonce of an address

Service — no API key needed:

ToolDescription
get_gas_pricesCurrent gas prices: safe / standard / fast
get_service_statusUpstream health: latency, block height, lag
get_metricsRPS, cache hit rate, average latency
get_cu_weightsCU cost table for all methods

Account — require MCP_API_KEY:

ToolDescription
get_accountTier, wallet, key count, limits
get_usageCU used today, daily limit, request count
get_analyticsTop methods, latency breakdown, cache hit rate
get_address_historyTransactions of an address, newest first (20 CU per page)

Example prompts

Chat with Claude
What's the latest block on LiteForge?
What's the balance of 0xAbC...?
Show details for transaction 0x123...
What's the current gas price?
How many CU have I used today?
Is the RPC node healthy?

Error Codes

LitVM RPC follows JSON-RPC 2.0 error format with additional gateway-specific codes.

CodeMessageMeaning
-32700Parse errorInvalid JSON
-32600Invalid requestMissing required fields
-32601Method not foundUnsupported or blocked method
-32001Invalid API keyKey not found or inactive
-32002Tier insufficientMethod requires higher tier
-32003Rate limitedToo many requests, slow down
-32005Daily limit exceededUpgrade tier or wait 24h

Support Assistant

Ask about setup, pricing, keys, CU, or troubleshooting.

Connect a paid key in the dashboard if you want account-specific usage and analytics answers. Open Dashboard