Struct parity_rpc::v1::TracesClient
source · [−]pub struct TracesClient<C> { /* private fields */ }
Expand description
Traces api implementation.
Implementations
sourceimpl<C> TracesClient<C>
impl<C> TracesClient<C>
Trait Implementations
sourceimpl<C, S> Traces for TracesClient<C> where
S: StateInfo + 'static,
C: BlockChainClient + StateClient<State = S> + Call<State = S> + EngineInfo + 'static,
impl<C, S> Traces for TracesClient<C> where
S: StateInfo + 'static,
C: BlockChainClient + StateClient<State = S> + Call<State = S> + EngineInfo + 'static,
sourcefn filter(&self, filter: TraceFilter) -> Result<Option<Vec<LocalizedTrace>>>
fn filter(&self, filter: TraceFilter) -> Result<Option<Vec<LocalizedTrace>>>
Returns traces matching given filter.
sourcefn block_traces(
&self,
block_number: BlockNumber
) -> Result<Option<Vec<LocalizedTrace>>>
fn block_traces(
&self,
block_number: BlockNumber
) -> Result<Option<Vec<LocalizedTrace>>>
Returns all traces produced at given block.
sourcefn transaction_traces(
&self,
transaction_hash: H256
) -> Result<Option<Vec<LocalizedTrace>>>
fn transaction_traces(
&self,
transaction_hash: H256
) -> Result<Option<Vec<LocalizedTrace>>>
Returns all traces of given transaction.
sourcefn trace(
&self,
transaction_hash: H256,
address: Vec<Index>
) -> Result<Option<LocalizedTrace>>
fn trace(
&self,
transaction_hash: H256,
address: Vec<Index>
) -> Result<Option<LocalizedTrace>>
Returns transaction trace at given index.
sourcefn call(
&self,
request: CallRequest,
flags: Vec<String>,
block: Option<BlockNumber>
) -> Result<TraceResults>
fn call(
&self,
request: CallRequest,
flags: Vec<String>,
block: Option<BlockNumber>
) -> Result<TraceResults>
Executes the given call and returns a number of possible traces for it.
sourcefn call_many(
&self,
requests: Vec<(CallRequest, Vec<String>)>,
block: Option<BlockNumber>
) -> Result<Vec<TraceResults>>
fn call_many(
&self,
requests: Vec<(CallRequest, Vec<String>)>,
block: Option<BlockNumber>
) -> Result<Vec<TraceResults>>
Executes all given calls and returns a number of possible traces for each of it.
sourcefn raw_transaction(
&self,
raw_transaction: Bytes,
flags: Vec<String>,
block: Option<BlockNumber>
) -> Result<TraceResults>
fn raw_transaction(
&self,
raw_transaction: Bytes,
flags: Vec<String>,
block: Option<BlockNumber>
) -> Result<TraceResults>
Executes the given raw transaction and returns a number of possible traces for it.
sourcefn replay_transaction(
&self,
transaction_hash: H256,
flags: Vec<String>
) -> Result<TraceResults>
fn replay_transaction(
&self,
transaction_hash: H256,
flags: Vec<String>
) -> Result<TraceResults>
Executes the transaction with the given hash and returns a number of possible traces for it.
sourcefn replay_block_transactions(
&self,
block_number: BlockNumber,
flags: Vec<String>
) -> Result<Vec<TraceResultsWithTransactionHash>>
fn replay_block_transactions(
&self,
block_number: BlockNumber,
flags: Vec<String>
) -> Result<Vec<TraceResultsWithTransactionHash>>
Executes all the transactions at the given block and returns a number of possible traces for each transaction.
sourcefn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
Create an IoDelegate
, wiring rpc calls to the trait methods.
Auto Trait Implementations
impl<C> RefUnwindSafe for TracesClient<C> where
C: RefUnwindSafe,
impl<C> Send for TracesClient<C> where
C: Send + Sync,
impl<C> Sync for TracesClient<C> where
C: Send + Sync,
impl<C> Unpin for TracesClient<C>
impl<C> UnwindSafe for TracesClient<C> where
C: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more