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