pub struct ExecutionPayloadHeader {Show 14 fields
pub parent_hash: B256,
pub fee_recipient: Address,
pub state_root: B256,
pub receipts_root: B256,
pub logs_bloom: Bloom,
pub prev_randao: B256,
pub block_number: String,
pub gas_limit: u64,
pub gas_used: u64,
pub timestamp: u64,
pub extra_data: Bytes,
pub base_fee_per_gas: U256,
pub block_hash: B256,
pub transactions_root: B256,
}
Expand description
The header of the execution payload.
Fields§
§parent_hash: B256
The parent hash of the execution payload.
fee_recipient: Address
The fee recipient address of the execution payload.
state_root: B256
The state root of the execution payload.
receipts_root: B256
The receipts root of the execution payload.
logs_bloom: Bloom
The logs bloom filter of the execution payload.
prev_randao: B256
The previous Randao value of the execution payload.
block_number: String
The block number of the execution payload, represented as a string.
gas_limit: u64
The gas limit of the execution payload, represented as a u64
.
gas_used: u64
The gas used by the execution payload, represented as a u64
.
timestamp: u64
The timestamp of the execution payload, represented as a u64
.
extra_data: Bytes
The extra data of the execution payload.
base_fee_per_gas: U256
The base fee per gas of the execution payload, represented as a U256
.
block_hash: B256
The block hash of the execution payload.
transactions_root: B256
The transactions root of the execution payload.
Trait Implementations§
Source§impl Clone for ExecutionPayloadHeader
impl Clone for ExecutionPayloadHeader
Source§fn clone(&self) -> ExecutionPayloadHeader
fn clone(&self) -> ExecutionPayloadHeader
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExecutionPayloadHeader
impl Debug for ExecutionPayloadHeader
Source§impl Default for ExecutionPayloadHeader
impl Default for ExecutionPayloadHeader
Source§fn default() -> ExecutionPayloadHeader
fn default() -> ExecutionPayloadHeader
Source§impl<'de> Deserialize<'de> for ExecutionPayloadHeader
impl<'de> Deserialize<'de> for ExecutionPayloadHeader
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ExecutionPayloadHeader
impl PartialEq for ExecutionPayloadHeader
Source§impl Serialize for ExecutionPayloadHeader
impl Serialize for ExecutionPayloadHeader
impl Eq for ExecutionPayloadHeader
impl StructuralPartialEq for ExecutionPayloadHeader
Auto Trait Implementations§
impl !Freeze for ExecutionPayloadHeader
impl RefUnwindSafe for ExecutionPayloadHeader
impl Send for ExecutionPayloadHeader
impl Sync for ExecutionPayloadHeader
impl Unpin for ExecutionPayloadHeader
impl UnwindSafe for ExecutionPayloadHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more