pub struct ExecutionPayloadV3 {
pub payload_inner: ExecutionPayloadV2,
pub blob_gas_used: u64,
pub excess_blob_gas: u64,
}
Expand description
This structure maps on the ExecutionPayloadV3 structure of the beacon chain spec.
Fields§
§payload_inner: ExecutionPayloadV2
Inner V2 payload
blob_gas_used: u64
Array of hex u64
representing blob gas used, enabled with V3
See https://github.com/ethereum/execution-apis/blob/fe8e13c288c592ec154ce25c534e26cb7ce0530d/src/engine/cancun.md#ExecutionPayloadV3
excess_blob_gas: u64
Array of hexu64
representing excess blob gas, enabled with V3
See https://github.com/ethereum/execution-apis/blob/fe8e13c288c592ec154ce25c534e26cb7ce0530d/src/engine/cancun.md#ExecutionPayloadV3
Implementations§
source§impl ExecutionPayloadV3
impl ExecutionPayloadV3
sourcepub const fn withdrawals(&self) -> &Vec<Withdrawal>
pub const fn withdrawals(&self) -> &Vec<Withdrawal>
Returns the withdrawals for the payload.
Trait Implementations§
source§impl Clone for ExecutionPayloadV3
impl Clone for ExecutionPayloadV3
source§fn clone(&self) -> ExecutionPayloadV3
fn clone(&self) -> ExecutionPayloadV3
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExecutionPayloadV3
impl Debug for ExecutionPayloadV3
source§impl Decode for ExecutionPayloadV3
Available on crate feature ssz
only.
impl Decode for ExecutionPayloadV3
Available on crate feature
ssz
only.source§fn is_ssz_fixed_len() -> bool
fn is_ssz_fixed_len() -> bool
Returns
true
if this object has a fixed-length. Read moresource§fn from_ssz_bytes(bytes: &[u8]) -> Result<Self, DecodeError>
fn from_ssz_bytes(bytes: &[u8]) -> Result<Self, DecodeError>
source§fn ssz_fixed_len() -> usize
fn ssz_fixed_len() -> usize
The number of bytes this object occupies in the fixed-length portion of the SSZ bytes. Read more
source§impl<'de> Deserialize<'de> for ExecutionPayloadV3
impl<'de> Deserialize<'de> for ExecutionPayloadV3
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Encode for ExecutionPayloadV3
Available on crate feature ssz
only.
impl Encode for ExecutionPayloadV3
Available on crate feature
ssz
only.source§fn is_ssz_fixed_len() -> bool
fn is_ssz_fixed_len() -> bool
Returns
true
if this object has a fixed-length. Read moresource§fn ssz_bytes_len(&self) -> usize
fn ssz_bytes_len(&self) -> usize
Returns the size (in bytes) when
self
is serialized. Read moresource§fn ssz_fixed_len() -> usize
fn ssz_fixed_len() -> usize
The number of bytes this object occupies in the fixed-length portion of the SSZ bytes. Read more
source§impl From<ExecutionPayloadV3> for ExecutionPayload
impl From<ExecutionPayloadV3> for ExecutionPayload
source§fn from(payload: ExecutionPayloadV3) -> Self
fn from(payload: ExecutionPayloadV3) -> Self
Converts to this type from the input type.
source§impl PartialEq for ExecutionPayloadV3
impl PartialEq for ExecutionPayloadV3
source§impl Serialize for ExecutionPayloadV3
impl Serialize for ExecutionPayloadV3
impl Eq for ExecutionPayloadV3
impl StructuralPartialEq for ExecutionPayloadV3
Auto Trait Implementations§
impl !Freeze for ExecutionPayloadV3
impl RefUnwindSafe for ExecutionPayloadV3
impl Send for ExecutionPayloadV3
impl Sync for ExecutionPayloadV3
impl Unpin for ExecutionPayloadV3
impl UnwindSafe for ExecutionPayloadV3
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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