pub struct TraceRequest {Show 13 fields
pub from_: Vec<Address>,
pub to: Vec<Address>,
pub address: Vec<Address>,
pub call_type: Vec<String>,
pub reward_type: Vec<String>,
pub type_: Vec<String>,
pub sighash: Vec<Sighash>,
pub author: Vec<Address>,
pub trace_method: TraceMethod,
pub include_transactions: bool,
pub include_transaction_logs: bool,
pub include_transaction_traces: bool,
pub include_blocks: bool,
}Expand description
Request for the trace pipeline (trace_block / debug_traceBlockByNumber).
Filter fields (from_, to, call_type, etc.) are not supported by
the RPC client — the provider returns all traces per block. Populate
these only if using a tiders client that supports server-side filtering.
Fields§
§from_: Vec<Address>§to: Vec<Address>§address: Vec<Address>§call_type: Vec<String>§reward_type: Vec<String>§type_: Vec<String>§sighash: Vec<Sighash>§trace_method: TraceMethodWhich RPC method to use for fetching traces.
include_transactions: boolAlso fetch transactions for the same block range.
include_transaction_logs: boolAlso fetch logs for the same block range.
include_transaction_traces: boolAlso fetch traces for the same block range (no-op since traces are already fetched).
include_blocks: boolAlso fetch block headers for the same block range.
Trait Implementations§
Source§impl Clone for TraceRequest
impl Clone for TraceRequest
Source§fn clone(&self) -> TraceRequest
fn clone(&self) -> TraceRequest
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 TraceRequest
impl Debug for TraceRequest
Source§impl Default for TraceRequest
impl Default for TraceRequest
Source§fn default() -> TraceRequest
fn default() -> TraceRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TraceRequest
impl RefUnwindSafe for TraceRequest
impl Send for TraceRequest
impl Sync for TraceRequest
impl Unpin for TraceRequest
impl UnwindSafe for TraceRequest
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