From 022217cc8eb3e8607583803449370930dca41fbe Mon Sep 17 00:00:00 2001 From: Endogen Date: Sat, 15 Jun 2024 12:32:05 +0200 Subject: [PATCH] Switch to interfaces instead of events and add query endpoint stub --- src/node/{events.md => interfaces.md} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename src/node/{events.md => interfaces.md} (95%) diff --git a/src/node/events.md b/src/node/interfaces.md similarity index 95% rename from src/node/events.md rename to src/node/interfaces.md index 7201943..86e7580 100644 --- a/src/node/events.md +++ b/src/node/interfaces.md @@ -1,11 +1,14 @@ --- -title: Events +title: Interfaces description: CometBFT offers the following events to which you can subscribe --- +# REST API +Describe `query` endpoint + # Subscribe to Events -CometBFT offers the following events to which you can subscribe +CometBFT offers the following events to which you can subscribe via Websockets ``` EventNewBlock = "NewBlock" EventNewBlockHeader = "NewBlockHeader"