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