pub struct BuilderBlocksReceivedQuery {
pub slot: Option<u64>,
pub limit: Option<u64>,
pub block_hash: Option<B256>,
pub block_number: Option<u64>,
pub builder_pubkey: Option<BlsPublicKey>,
}
Expand description
Query for the GET /relay/v1/data/bidtraces/builder_blocks_received
endpoint.
This endpoint provides BidTraces for builder block submissions that match the query and were
verified successfully.
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
builder_pubkey: Option<BlsPublicKey>
Search for a specific builder public key.
Implementations§
source§impl BuilderBlocksReceivedQuery
impl BuilderBlocksReceivedQuery
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 builder_pubkey(self, builder_pubkey: BlsPublicKey) -> Self
pub const fn builder_pubkey(self, builder_pubkey: BlsPublicKey) -> Self
Sets the specific builder public key
Trait Implementations§
source§impl Clone for BuilderBlocksReceivedQuery
impl Clone for BuilderBlocksReceivedQuery
source§fn clone(&self) -> BuilderBlocksReceivedQuery
fn clone(&self) -> BuilderBlocksReceivedQuery
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 BuilderBlocksReceivedQuery
impl Debug for BuilderBlocksReceivedQuery
source§impl Default for BuilderBlocksReceivedQuery
impl Default for BuilderBlocksReceivedQuery
source§fn default() -> BuilderBlocksReceivedQuery
fn default() -> BuilderBlocksReceivedQuery
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BuilderBlocksReceivedQuery
impl<'de> Deserialize<'de> for BuilderBlocksReceivedQuery
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
impl Eq for BuilderBlocksReceivedQuery
impl StructuralPartialEq for BuilderBlocksReceivedQuery
Auto Trait Implementations§
impl Freeze for BuilderBlocksReceivedQuery
impl RefUnwindSafe for BuilderBlocksReceivedQuery
impl Send for BuilderBlocksReceivedQuery
impl Sync for BuilderBlocksReceivedQuery
impl Unpin for BuilderBlocksReceivedQuery
impl UnwindSafe for BuilderBlocksReceivedQuery
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