pub struct TransactionRequest {
pub from_: Vec<Address>,
pub to: Vec<Address>,
pub sighash: Vec<Sighash>,
pub status: Vec<u8>,
pub type_: Vec<u8>,
pub contract_deployment_address: Vec<Address>,
pub hash: Vec<Hash>,
pub include_logs: bool,
pub include_traces: bool,
pub include_blocks: bool,
}Expand description
Request for the block pipeline (eth_getBlockByNumber).
Filter fields (from_, to, sighash, etc.) are not supported by the
RPC client — the provider returns all transactions per block. Populate
these only if using a tiders client that supports server-side filtering.
Fields§
§from_: Vec<Address>§to: Vec<Address>§sighash: Vec<Sighash>§status: Vec<u8>§type_: Vec<u8>§contract_deployment_address: Vec<Address>§hash: Vec<Hash>§include_logs: boolAlso fetch logs for the same block range.
include_traces: boolAlso fetch traces for the same block range.
include_blocks: boolIncluded for API compatibility; blocks are always fetched by this pipeline.
Trait Implementations§
Source§impl Clone for TransactionRequest
impl Clone for TransactionRequest
Source§fn clone(&self) -> TransactionRequest
fn clone(&self) -> TransactionRequest
Returns a duplicate 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 TransactionRequest
impl Debug for TransactionRequest
Source§impl Default for TransactionRequest
impl Default for TransactionRequest
Source§fn default() -> TransactionRequest
fn default() -> TransactionRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TransactionRequest
impl RefUnwindSafe for TransactionRequest
impl Send for TransactionRequest
impl Sync for TransactionRequest
impl Unpin for TransactionRequest
impl UnwindSafe for TransactionRequest
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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