File tree Expand file tree Collapse file tree 3 files changed +14
-5
lines changed
Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 55 Retrieves blobs for a given block id.
66 Depending on `Accept` header it can be returned either as json or as bytes serialized by SSZ.
77
8- If the `indices ` parameter is specified, only the blobs with the specified indices will be returned. There are no guarantees
9- for the returned blobs in terms of ordering .
8+ If the `versioned_hashes ` parameter is specified, only the blobs with the specified versioned hashes will be returned. Blobs are
9+ returned as an ordered list matching the order of their corresponding KZG commitments in the block .
1010
1111 After the Fulu fork, only supernodes (which custody all data columns) are required to return blobs. Clients may implement
1212 blob reconstruction logic for non-super nodes.
1717 in : path
1818 required : true
1919 $ref : " ../../../beacon-node-oapi.yaml#/components/parameters/BlockId"
20- - name : indices
20+ - name : versioned_hashes
2121 in : query
22- description : Array of indices for blobs to request for in the specified block. Returns all blobs in the block if not specified.
22+ description : Array of versioned hashes for blobs to request for in the specified block. Returns all blobs in the block if not specified.
2323 required : false
2424 schema :
2525 type : array
2626 uniqueItems : true
2727 items :
28- $ref : " ../../../beacon-node-oapi.yaml#/components/schemas/Uint64 "
28+ $ref : " ../../../beacon-node-oapi.yaml#/components/schemas/VersionedHash "
2929 responses :
3030 " 200 " :
3131 description : " Successful response"
Original file line number Diff line number Diff line change @@ -385,6 +385,8 @@ components:
385385 $ref : ' ./types/primitive.yaml#/Blob'
386386 Blobs :
387387 $ref : ' ./types/deneb/block_contents.yaml#/Deneb/Blobs'
388+ VersionedHash :
389+ $ref : ' ./types/primitive.yaml#/VersionedHash'
388390 Deneb.BlobSidecars :
389391 $ref : ' ./types/deneb/blob_sidecar.yaml#/Deneb/BlobSidecars'
390392 Electra.BeaconState :
Original file line number Diff line number Diff line change @@ -141,3 +141,10 @@ KZGProof:
141141 format : hex
142142 pattern : " ^0x[a-fA-F0-9]{96}$"
143143 description : " A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct."
144+
145+ VersionedHash :
146+ type : string
147+ format : hex
148+ pattern : " ^0x[a-fA-F0-9]{64}$"
149+ description : " A versioned hash used to identify a blob."
150+ example : " 0x01cf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
You can’t perform that action at this time.
0 commit comments