developing-rpcs

Develop and extend Ethereum-compatible and custom RPC methods for the Moonbeam node.

2|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/manuelmauro/moonbeam-skills --skill developing-rpcs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: developing-rpcs
Source: https://github.com/manuelmauro/moonbeam-skills/tree/main/skills/developing-rpcs
Command: npx skills add https://github.com/manuelmauro/moonbeam-skills --skill developing-rpcs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Moonbeam RPC development often requires designing, implementing, and maintaining a diverse set of RPC interfaces across the node, including Ethereum-compatible methods and Moonbeam-specific extensions. This Skill provides a structured approach to architecting, implementing, debugging, and tracing RPCs, reducing integration time and improving runtime API consistency across environments.

Core Features & Use Cases

  • RPC Architecture and Organization: clear layout of client/rpc layers, rpc-core, and evm tracing components.
  • Adding a New RPC Method: step-by-step guidance to define interfaces, implement logic, and register with node services.
  • Ethereum RPC Compatibility and Custom Moonbeam Methods: guidance on bridging standard Frontier methods with Moonbeam-specific APIs.
  • Debugging, Tracing, and Testing: patterns for runtime debugging, call tracing, and validating RPCs across environments.

Quick Start

Follow the architecture and examples to add your first Moonbeam RPC method and register it in the node service.

Frequently Asked Questions about developing-rpcs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new RPC method to a Moonbeam node?

Adding a new Moonbeam RPC method involves defining interfaces, implementing logic, and registering it with node services. This Skill provides step-by-step guidance to ensure proper runtime API integration and modular architecture.

How do I implement Ethereum RPC compatibility on Moonbeam?

Implementing Ethereum RPC compatibility on Moonbeam requires bridging standard Frontier methods with Moonbeam-specific APIs. This Skill guides you through extending existing methods while maintaining Ethereum compatibility.

What is the best way to debug and trace Moonbeam RPCs?

Debugging and tracing Moonbeam RPCs requires specific patterns for runtime debugging and call tracing. This Skill demonstrates testing patterns across core RPCs to validate behavior and identify integration issues.

Does Moonbeam RPC development support runtime API integration?

Yes, Moonbeam RPC development supports runtime API integration. This Skill satisfies modular RPC architecture requirements and demonstrates how to connect custom RPC endpoints with Moonbeam's runtime API.

Can I extend existing Moonbeam RPC methods with tracing capabilities?

Yes, you can extend existing Moonbeam RPC methods with tracing capabilities. This Skill provides patterns for call tracing and EVM tracing components to enhance runtime debugging and analysis.