From 1918119ad160f3846acfaa721e72c92fc07f4d56 Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Thu, 11 Apr 2024 20:12:15 +0100 Subject: [PATCH] Add metadata fields to getBlobSidecars response --- apis/beacon/blob_sidecars/blob_sidecars.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/apis/beacon/blob_sidecars/blob_sidecars.yaml b/apis/beacon/blob_sidecars/blob_sidecars.yaml index 957bd4a8..40321774 100644 --- a/apis/beacon/blob_sidecars/blob_sidecars.yaml +++ b/apis/beacon/blob_sidecars/blob_sidecars.yaml @@ -26,6 +26,10 @@ get: responses: "200": description: "Successful response" + headers: + Eth-Consensus-Version: + $ref: '../../../beacon-node-oapi.yaml#/components/headers/Eth-Consensus-Version' + required: false content: application/json: schema: @@ -33,6 +37,14 @@ get: type: object required: [data] properties: + version: + type: string + enum: [phase0, altair, bellatrix, capella, deneb] + example: "deneb" + execution_optimistic: + $ref: "../../../beacon-node-oapi.yaml#/components/schemas/ExecutionOptimistic" + finalized: + $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Finalized" data: $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.BlobSidecars" application/octet-stream: