pub struct ProposerPayloadsDeliveredQuery {
pub slot: Option<u64>,
pub limit: Option<u64>,
pub block_hash: Option<B256>,
pub block_number: Option<u64>,
pub proposer_pubkey: Option<BlsPublicKey>,
pub builder_pubkey: Option<BlsPublicKey>,
pub order_by: Option<OrderBy>,
}
Expand description
Query for the GET /relay/v1/data/bidtraces/proposer_payload_delivered
Provides BidTraces for payloads that were delivered to proposers.
Fields§
§slot: Option<u64>
A specific slot
limit: Option<u64>
Maximum number of entries (200 max)
block_hash: Option<B256>
Search for a specific blockhash
block_number: Option<u64>
Search for a specific EL block number
proposer_pubkey: Option<BlsPublicKey>
Filter results by a proposer public key
builder_pubkey: Option<BlsPublicKey>
Filter results by a builder public key
order_by: Option<OrderBy>
How to order results
Implementations§
source§impl ProposerPayloadsDeliveredQuery
impl ProposerPayloadsDeliveredQuery
sourcepub const fn block_hash(self, block_hash: B256) -> Self
pub const fn block_hash(self, block_hash: B256) -> Self
Sets the specific blockhash
sourcepub const fn block_number(self, block_number: u64) -> Self
pub const fn block_number(self, block_number: u64) -> Self
Sets the specific EL block number
sourcepub const fn proposer_pubkey(self, proposer_pubkey: BlsPublicKey) -> Self
pub const fn proposer_pubkey(self, proposer_pubkey: BlsPublicKey) -> Self
Sets the proposer public key
sourcepub const fn builder_pubkey(self, builder_pubkey: BlsPublicKey) -> Self
pub const fn builder_pubkey(self, builder_pubkey: BlsPublicKey) -> Self
Sets the builder public key
sourcepub const fn order_by_desc(self) -> Self
pub const fn order_by_desc(self) -> Self
Order results by descending value (highest value first)
sourcepub const fn order_by_asc(self) -> Self
pub const fn order_by_asc(self) -> Self
Order results by ascending value (lowest value first)
Trait Implementations§
source§impl Clone for ProposerPayloadsDeliveredQuery
impl Clone for ProposerPayloadsDeliveredQuery
source§fn clone(&self) -> ProposerPayloadsDeliveredQuery
fn clone(&self) -> ProposerPayloadsDeliveredQuery
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 Default for ProposerPayloadsDeliveredQuery
impl Default for ProposerPayloadsDeliveredQuery
source§fn default() -> ProposerPayloadsDeliveredQuery
fn default() -> ProposerPayloadsDeliveredQuery
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ProposerPayloadsDeliveredQuery
impl<'de> Deserialize<'de> for ProposerPayloadsDeliveredQuery
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 PartialEq for ProposerPayloadsDeliveredQuery
impl PartialEq for ProposerPayloadsDeliveredQuery
source§fn eq(&self, other: &ProposerPayloadsDeliveredQuery) -> bool
fn eq(&self, other: &ProposerPayloadsDeliveredQuery) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for ProposerPayloadsDeliveredQuery
impl StructuralPartialEq for ProposerPayloadsDeliveredQuery
Auto Trait Implementations§
impl Freeze for ProposerPayloadsDeliveredQuery
impl RefUnwindSafe for ProposerPayloadsDeliveredQuery
impl Send for ProposerPayloadsDeliveredQuery
impl Sync for ProposerPayloadsDeliveredQuery
impl Unpin for ProposerPayloadsDeliveredQuery
impl UnwindSafe for ProposerPayloadsDeliveredQuery
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