pub struct BidTrace {
pub slot: u64,
pub parent_hash: B256,
pub block_hash: B256,
pub builder_pubkey: BlsPublicKey,
pub proposer_pubkey: BlsPublicKey,
pub proposer_fee_recipient: Address,
pub gas_limit: u64,
pub gas_used: u64,
pub value: U256,
}
Expand description
Represents public information about a block sent by a builder to the relay, or from the relay to the proposer.
Depending on the context, value might represent the claimed value by a builder (not necessarily a value confirmed by the relay).
Fields§
§slot: u64
The slot associated with the block.
parent_hash: B256
The parent hash of the block.
block_hash: B256
The hash of the block.
builder_pubkey: BlsPublicKey
The public key of the builder.
proposer_pubkey: BlsPublicKey
The public key of the proposer.
proposer_fee_recipient: Address
The recipient of the proposer’s fee.
gas_limit: u64
The gas limit associated with the block.
gas_used: u64
The gas used within the block.
value: U256
The value associated with the block.
Trait Implementations§
source§impl Decode for BidTrace
impl Decode for BidTrace
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_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§fn from_ssz_bytes(bytes: &[u8]) -> Result<Self, DecodeError>
fn from_ssz_bytes(bytes: &[u8]) -> Result<Self, DecodeError>
source§impl<'de> Deserialize<'de> for BidTrace
impl<'de> Deserialize<'de> for BidTrace
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 BidTrace
impl Encode for BidTrace
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_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§fn ssz_bytes_len(&self) -> usize
fn ssz_bytes_len(&self) -> usize
Returns the size (in bytes) when
self
is serialized. Read moreimpl Eq for BidTrace
impl StructuralPartialEq for BidTrace
Auto Trait Implementations§
impl Freeze for BidTrace
impl RefUnwindSafe for BidTrace
impl Send for BidTrace
impl Sync for BidTrace
impl Unpin for BidTrace
impl UnwindSafe for BidTrace
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