From 3272bdf0e98050adfaecb1bce4cd2b720a4068b1 Mon Sep 17 00:00:00 2001 From: Lion - dapplion <35266934+dapplion@users.noreply.github.com> Date: Tue, 9 Jan 2024 17:07:30 +0700 Subject: [PATCH] Add block_gossip SSE event --- apis/eventstream/index.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apis/eventstream/index.yaml b/apis/eventstream/index.yaml index 682972db..5b284896 100644 --- a/apis/eventstream/index.yaml +++ b/apis/eventstream/index.yaml @@ -24,6 +24,7 @@ get: enum: - head - block + - block_gossip - attestation - voluntary_exit - bls_to_execution_change @@ -55,6 +56,11 @@ get: value: | event: block data: {"slot":"10", "block":"0x9a2fefd2fdb57f74993c7780ea5b9030d2897b615b89f808011ca5aebed54eaf", "execution_optimistic": false} + block_gossip: + description: The node has received a block (from P2P or API) that passes validation rules of the `beacon_block` topic + value: | + event: block + data: {"slot":"10", "block":"0x9a2fefd2fdb57f74993c7780ea5b9030d2897b615b89f808011ca5aebed54eaf"} attestation: description: The node has received a valid attestation (from P2P or API) value: |