alloy_eips/eip4844/
engine.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Misc types related to the 4844

use crate::eip4844::{Blob, Bytes48};
use alloc::boxed::Box;

/// Blob type returned in responses to `engine_getBlobsV1`: <https://github.com/ethereum/execution-apis/pull/559>
#[derive(Debug, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct BlobAndProofV1 {
    /// The blob data.
    pub blob: Box<Blob>,
    /// The KZG proof for the blob.
    pub proof: Bytes48,
}