Rootstock RPC Endpoint

Flat-rate Rootstock RPC provider and Rootstock RPC node access: free tier, no KYC, HTTP. Rootstock mainnet chain ID 30.

Rootstock mainnet RPC URL: https://rpc.swiftnodes.io/rpc/rootstock?key=YOUR_API_KEY

Rootstock (RSK) is an EVM-compatible smart contract sidechain secured by the Bitcoin network through merged mining. Its native gas token, RBTC, is pegged 1:1 to BTC, bringing programmable smart contracts to Bitcoin holders.

Network: Rootstock
Type: EVM
Chain ID: 30
Slug: rootstock
Native token: RBTC (Smart Bitcoin)
Block time: ~30 seconds
Finality: probabilistic (strengthens with Bitcoin merged-mining confirmations)
Mainnet: January 2018
Category: Bitcoin sidechain (EVM, merged-mined proof-of-work)

Rootstock on the SwiftNodes fleet, right now

Status: online
Latency: 535 ms
Latest block: 9,311,093
WebSocket: not available

4 of 12 probed RPC methods supported (archive, batch, debug_traceCall, txpool_status). The gaps are listed per chain in the method support matrix.

Status and latency from our health checks, refreshed about every 5 minutes. Uptime history. Method support probed automatically on 2026-10-04. Network status

Rootstock developer facts, measured

Block time:
~30 s (average of the last 1,000 blocks)
Historical state:
readable at least 1,000,000 blocks back

Measured 2026-10-04 through this page's endpoint, re-measured weekly. Limits can differ between the upstream nodes behind it. All chains: measured chain facts.

About Rootstock

Rootstock launched its mainnet in January 2018 as one of the earliest Bitcoin sidechains. It uses merged mining, allowing Bitcoin miners to secure Rootstock with the same proof-of-work hashing, and produces blocks roughly every 30 seconds.

RBTC, the network's gas token, is backed 1:1 by BTC via the PowPeg two-way peg, and the supply mirrors Bitcoin's 21 million cap. The Rootstock Virtual Machine is compatible with the EVM, so Solidity contracts and Ethereum tooling can run on a Bitcoin-secured chain, supporting BTC-denominated DeFi.

Common Use Cases on Rootstock

  • BTC-denominated DeFi (lending, DEXes)
  • Stablecoins collateralized by RBTC
  • Smart contracts secured by Bitcoin
  • Tokenization on a Bitcoin-pegged chain
  • Payments using RBTC

Rootstock Ecosystem

The ecosystem centers on BTCFi protocols such as Sovryn and Money on Chain, along with the RIF suite of developer infrastructure.

Rootstock Mainnet RPC URL (HTTP)

https://rpc.swiftnodes.io/rpc/rootstock?key=YOUR_API_KEY

Rootstock WebSocket RPC URL

Not available for Rootstock right now: none of its upstreams currently accepts a subscription in our health checks. Poll the HTTP endpoint above instead.

Quick Start: Connect to Rootstock

cURL

curl -X POST https://rpc.swiftnodes.io/rpc/rootstock?key=YOUR_API_KEY \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

ethers.js

import { JsonRpcProvider } from "ethers";

const provider = new JsonRpcProvider(
  "https://rpc.swiftnodes.io/rpc/rootstock?key=YOUR_API_KEY"
);

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

viem

import { createPublicClient, http } from "viem";

const client = createPublicClient({
  transport: http("https://rpc.swiftnodes.io/rpc/rootstock?key=YOUR_API_KEY"),
});

const blockNumber = await client.getBlockNumber();

web3.py

from web3 import Web3

w3 = Web3(Web3.HTTPProvider("https://rpc.swiftnodes.io/rpc/rootstock?key=YOUR_API_KEY"))
print("Rootstock block:", w3.eth.block_number)

Add Rootstock to MetaMask

Network Name: Rootstock (SwiftNodes)
RPC URL: https://rpc.swiftnodes.io/rpc/rootstock?key=YOUR_API_KEY
Chain ID: 30
Currency Symbol: RBTC

Bridging to Rootstock

BTC enters and exits via the PowPeg two-way peg, and third-party bridges connect Rootstock assets to other EVM chains.

Features of SwiftNodes for Rootstock

  • Load-balanced across multiple upstream nodes wherever a chain has more than one, with automatic failover
  • Health-checked every 2 minutes with automatic failover
  • Free tier available — no credit card or KYC required
  • Flat-rate monthly pricing with no per-request fees
  • HTTP support (WebSocket not available for this chain right now)
  • One API key works across all 75+ supported chains, including Rootstock

Rate Limits

PlanPriceHTTP req/sWS msg/s
Free$0/mo21
Starter$49/mo5025
Growth$89/mo15075
Scale$149/mo300150
Pro$249/mo500250

Frequently Asked Questions: Rootstock

What's Rootstock's chain ID?

Rootstock mainnet is chain ID 30.

What is RBTC?

RBTC is Rootstock's native gas token, pegged 1:1 to BTC through the PowPeg two-way peg and used to pay transaction fees.

How is Rootstock secured?

Rootstock is merged-mined alongside Bitcoin, so Bitcoin miners secure the sidechain using the same proof-of-work without extra energy cost.

Is WebSocket supported?

Not right now. Our health checks open a real subscription on every Rootstock upstream, and none currently accepts one, so Rootstock is served over HTTP only. The WebSocket line in the live status above changes on its own when that measurement does.

Rootstock guides from the blog

  • Rootstock RPC: An EVM Chain Where Gas Is BitcoinRootstock (RSK) is an EVM sidechain merge-mined by Bitcoin — chain ID 30, RBTC gas pegged 1:1 to BTC, ~30s blocks. viem and ethers connect in one line, but two things trip up Ethereum devs: gas is denominated in Bitcoin, and addresses use an EIP-1191 checksum that standard tooling gets 'wrong'. Here's the map.

Related EVM chains

Explore RPC endpoints for other EVM networks on SwiftNodes:

Ready to start building on Rootstock? Connect your wallet and get a free API key in 30 seconds. No email or KYC required.