From 3a4ad0c61411a5a017a4f83b1914810aa5a43ce0 Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Tue, 21 Feb 2023 08:25:06 +0700 Subject: [PATCH] GraphQL docs --- README.md | 8 ++++---- cmd/rpcdaemon/README.md | 7 +++++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 04f5a4138..aed899957 100644 --- a/README.md +++ b/README.md @@ -538,11 +538,11 @@ node. #### `RPC` ports -| Port | Protocol | Purpose | Expose | -|:----:|:--------:|:-----------------:|:-------:| -| 8545 | TCP | HTTP & WebSockets | Private | +| Port | Protocol | Purpose | Expose | +|:----:|:--------:|:---------------------------:|:-------:| +| 8545 | TCP | HTTP & WebSockets & GraphQL | Private | -Typically, 8545 is exposed only internally for JSON-RPC queries. Both HTTP and WebSocket connections are on the same +Typically, 8545 is exposed only internally for JSON-RPC queries. Both HTTP and WebSocket and GraphQL are on the same port. #### `sentry` ports diff --git a/cmd/rpcdaemon/README.md b/cmd/rpcdaemon/README.md index 6785839c2..e1cbc8262 100644 --- a/cmd/rpcdaemon/README.md +++ b/cmd/rpcdaemon/README.md @@ -330,6 +330,13 @@ The following table shows the current implementation status of Erigon's RPC daem | bor_getCurrentValidators | Yes | Bor only | | bor_getRootHash | Yes | Bor only | +### GraphQL + +| Command | Avail | Notes | +|--------------------------------------------|---------|--------------------------------------| +| GetBlockDetails | Yes | | +| GetChainID | Yes | | + This table is constantly updated. Please visit again. ### Securing the communication between RPC daemon and Erigon instance via TLS and authentication