R5 Network
WebsiteR5 LabsGitHub
  • Getting Started
    • Hello & Welcome!
  • About R5
    • Overview
    • R5 Components
    • Consensus Mechanism
    • zkNet (Privacy)
  • R5 Coin
  • R5 Tokenomics
  • Tutorials & Guides
    • Connect & Use R5
      • R5 Desktop Wallet
      • MetaMask
      • Rabby Wallet
      • Coinbase Wallet
    • zkNet Web Wallet
    • R5 Desktop Wallet
      • Interface Overview
      • Send a Transaction
      • Receive a Transaction
      • Backup Your Wallet
      • Retrieve Your Private Key
    • How To: Deploy a Node
    • How To: Mine R5
    • How To: GPU Mine R5
    • How To: Build R5 From Source
    • How To: Connect Local Nodes
  • For Developers
    • R5 SDK
      • R5 Relayer
      • R5 Console
      • JS Console
      • CLI Wallet
      • SCdev
      • SSL Proxy
    • Hardware Requirements
    • R5 Testnet
    • R5 Devnet
    • Local Networks
    • JSON-RPC API
      • admin
      • debug
      • ethash
      • miner
      • net
      • r5 (eth)
      • rpc
      • txpool
      • web3
    • Indexer API
    • zkNet API
    • Node Configuration
    • Ethash-R5
    • Smart Contracts
    • Wrapped R5 (Native)
    • Tokens & NFTs
  • Bug Bounty Program
  • Resources
    • Website
    • R5 Labs
    • R5 Labs GitHub
Powered by GitBook
On this page
  1. For Developers
  2. JSON-RPC API

rpc

The rpc namespace provides endpoints for retrieving information about the node's JSON-RPC server itself. These endpoints let you query the list of available modules and their versions, giving you insight into the RPC capabilities exposed by your R5 node.


rpc_modules

Description: Returns an object containing all available RPC modules along with their versions. This endpoint is useful for confirming which namespaces and functionalities are enabled on your node.

Sample Request:

{
  "jsonrpc": "2.0",
  "method": "rpc_modules",
  "params": [],
  "id": 1
}

Expected Response:

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "admin": "1.0",
    "eth": "1.0",
    "net": "1.0",
    "web3": "1.0",
    "txpool": "1.0",
    "debug": "1.0",
    "engine": "1.0",
    "ethash": "1.0",
    "rpc": "1.0"
  }
}

Parameters: None.

Previousr5 (eth)Nexttxpool

Last updated 2 months ago