BlobAndProofV1
engine_getBlobsV1
Consensus layer clients MAY use this method to fetch blobs from the execution layer blob pool.
Note: This is a new method introduced after Cancun. It is defined here because it is backwards-compatible with Cancun.
Request
- method:
engine_getBlobsV1 - params:
Array of DATA, 32 Bytes - Array of blob versioned hashes.
- timeout: 1s
Response
- result:
Array of BlobAndProofV1- Array ofBlobAndProofV1, items of which may benull. - error: code and message set in case an error occurs during processing of the request.
Specification
-
Given an array of blob versioned hashes client software MUST respond with an array of
BlobAndProofV1objects with matching versioned hashes, respecting the order of versioned hashes in the input array. -
Client software MUST place responses in the order given in the request, using
nullfor any missing blobs. For instance, if the request is[A_versioned_hash, B_versioned_hash, C_versioned_hash]and client software has data for blobsAandC, but doesn’t have data forB, the response MUST be[A, null, C]. -
Client software MUST support request sizes of at least 128 blob versioned hashes. The client MUST return
-38004: Too large requesterror if the number of requested blobs is too large. -
Client software MAY return an array of all
nullentries if syncing or otherwise unable to serve blob pool data. -
Callers MUST consider that execution layer clients may prune old blobs from their pool, and will respond with
nullif a blob has been pruned.