Rootstock RPC Endpoint

Fast, flat-rate Rootstock RPC node provider — free tier, no KYC, HTTP & WebSocket.

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)

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.

HTTP Endpoint

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

WebSocket Endpoint

wss://rpc.swiftnodes.io/ws/rootstock?key=YOUR_API_KEY

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
WebSocket: wss://rpc.swiftnodes.io/ws/rootstock?key=YOUR_API_KEY

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

  • Multiple load-balanced upstream nodes for high availability
  • Health-checked every 60 seconds with automatic failover
  • Free tier available — no credit card or KYC required
  • Flat-rate monthly pricing with no per-request fees
  • HTTP and WebSocket support
  • 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?

Yes - SwiftNodes provides HTTP and WebSocket (wss://) endpoints with eth_subscribe support.

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