From 50a8fe8f79f07f326130dc467733030eb3235a66 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 1 Nov 2019 12:53:00 +0100 Subject: [PATCH] Rename JSON-RPC index page to server.md Also document RPC namespaces better. --- docs/_rpc/{index.md => server.md} | 8 ++++++++ 1 file changed, 8 insertions(+) rename docs/_rpc/{index.md => server.md} (86%) diff --git a/docs/_rpc/index.md b/docs/_rpc/server.md similarity index 86% rename from docs/_rpc/index.md rename to docs/_rpc/server.md index f94cb1b58c..db9ea54514 100644 --- a/docs/_rpc/index.md +++ b/docs/_rpc/server.md @@ -9,6 +9,14 @@ JSON-RPC is provided on multiple transports. Geth supports JSON-RPC over HTTP, WebSocket and Unix Domain Sockets. Transports must be enabled through command-line flags. +Ethereum JSON-RPC APIs use a name-space system. RPC methods are grouped into +several categories depending on their purpose. All method names are composed of +the namespace, an underscore, and the actual method name within the namespace. +For example, the `eth_call` method resides in the `eth` namespace. + +Access to RPC methods can be enabled on a per-namespace basis. Find +documentation for individual namespaces in the sidebar. + ### HTTP Server To enable the HTTP server, use the `--rpc` flag.