Rootstock (RSK)

Rootstock is an EVM-compatible Bitcoin sidechain secured by merged mining with Bitcoin, and it uses RBTC, pegged 1:1 to BTC, as its gas token.

Bitcoin miners merge-mine Rootstock blocks with the same hash power they use for Bitcoin. The Rootstock Virtual Machine is EVM-compatible, so Solidity contracts and Ethereum tooling work over the Ethereum JSON-RPC API. RBTC pays gas and enters circulation only when BTC is pegged in through the PowPeg bridge. Addresses use the 0x format with the EIP-1191 checksum, which includes the chain ID (30 on mainnet, 31 on testnet), so mixed-case addresses differ from Ethereum's.

Plans, pricing and dedicated nodes: Rootstock RPC nodes on tatum.io. Network tiers: Supported Blockchains. Chain documentation: Rootstock official website.

Rootstock RPC at a glance

Networks Mainnet and Testnet
Chain ID Mainnet 30 (0x1e) · Testnet 31 (0x1f)
Interfaces JSON-RPC
Supported methods 33 · JSON-RPC methods
Debug and trace methods Not available
Native token RBTC
Authentication API key in the x-api-key header, see Authentication

Rootstock RPC endpoints

Rootstock RPC networks

↳ JSON-RPC
https://rootstock-mainnet.gateway.tatum.io
↳ JSON-RPC
https://rootstock-testnet.gateway.tatum.io

Get the latest Rootstock block

Sends eth_blockNumber to Rootstock Mainnet through Tatum RPC Gateway and shows the latest block number.

Get the Rootstock node version

Sends web3_clientVersion to Rootstock Mainnet through Tatum RPC Gateway and shows the node version and status.

Test Rootstock RPC methods in Postman

The Rootstock Postman collection has a ready request for the supported methods. Import it, set the gateway-api-key variable of the Tatum Gateway environment to your API key from Tatum Dashboard, and send any request.

Available Rootstock interfaces and methods

Each Rootstock network and interface below exposes its own set of RPC methods, listed live from Tatum's RPC Gateway. Query these endpoints for any interface to explore what it supports:

  • /_methods – machine-readable list of interfaces and methods
  • /llms.txt – human- and AI-readable documentation context
Rootstock Mainnet

JSON-RPC

Base URL: https://rootstock-mainnet.gateway.tatum.io

Discovery: /_methods · /llms.txt

  • eth_blockNumber
  • eth_call
  • eth_callMany
  • eth_chainId
  • eth_estimateGas
  • eth_feeHistory
  • eth_gasPrice
  • eth_getBalance
  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getBlockTransactionCountByHash
  • eth_getBlockTransactionCountByNumber
  • eth_getCode
  • eth_getLogs
  • eth_getProof
  • eth_getStorageAt
  • eth_getTransactionByBlockHashAndIndex
  • eth_getTransactionByBlockNumberAndIndex
  • eth_getTransactionByHash
  • eth_getTransactionCount
  • eth_getTransactionReceipt
  • eth_getUncleByBlockHashAndIndex
  • eth_getUncleByBlockNumberAndIndex
  • eth_getUncleCountByBlockHash
  • eth_getUncleCountByBlockNumber
  • eth_maxPriorityFeePerGas
  • eth_sendRawTransaction
  • eth_signTypedData
  • eth_signTypedData_v3
  • eth_syncing
  • net_peerCount
  • net_version
  • web3_clientVersion
Rootstock Testnet

JSON-RPC

Base URL: https://rootstock-testnet.gateway.tatum.io

Discovery: /_methods · /llms.txt

  • eth_blockNumber
  • eth_call
  • eth_callMany
  • eth_chainId
  • eth_estimateGas
  • eth_feeHistory
  • eth_gasPrice
  • eth_getBalance
  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getBlockTransactionCountByHash
  • eth_getBlockTransactionCountByNumber
  • eth_getCode
  • eth_getLogs
  • eth_getProof
  • eth_getStorageAt
  • eth_getTransactionByBlockHashAndIndex
  • eth_getTransactionByBlockNumberAndIndex
  • eth_getTransactionByHash
  • eth_getTransactionCount
  • eth_getTransactionReceipt
  • eth_getUncleByBlockHashAndIndex
  • eth_getUncleByBlockNumberAndIndex
  • eth_getUncleCountByBlockHash
  • eth_getUncleCountByBlockNumber
  • eth_maxPriorityFeePerGas
  • eth_sendRawTransaction
  • eth_signTypedData
  • eth_signTypedData_v3
  • eth_syncing
  • net_peerCount
  • net_version
  • web3_clientVersion

Method unavailable?

If you need a method we don't support yet, please contact our support.
We'd be happy to assist.

Testing without an API key? Free public endpoints are listed on Rootstock RPC at FREERPC.com.