Struct ethcore_rpc::v1::TracesClient
[−]
[src]
pub struct TracesClient<C, M> where C: BlockChainClient, M: MinerService { /* fields omitted */ }
Traces api implementation.
Methods
impl<C, M> TracesClient<C, M> where C: BlockChainClient, M: MinerService
[src]
Trait Implementations
impl<C, M> Traces for TracesClient<C, M> where C: BlockChainClient + 'static, M: MinerService + 'static
[src]
fn filter(&self, filter: TraceFilter) -> Result<Vec<LocalizedTrace>, Error>
Returns traces matching given filter.
fn block_traces(&self,
block_number: BlockNumber)
-> Result<Vec<LocalizedTrace>, Error>
block_number: BlockNumber)
-> Result<Vec<LocalizedTrace>, Error>
Returns all traces produced at given block.
fn transaction_traces(&self,
transaction_hash: H256)
-> Result<Vec<LocalizedTrace>, Error>
transaction_hash: H256)
-> Result<Vec<LocalizedTrace>, Error>
Returns all traces of given transaction.
fn trace(&self,
transaction_hash: H256,
address: Vec<Index>)
-> Result<Option<LocalizedTrace>, Error>
transaction_hash: H256,
address: Vec<Index>)
-> Result<Option<LocalizedTrace>, Error>
Returns transaction trace at given index.
fn call(&self,
request: CallRequest,
flags: Vec<String>,
block: Trailing<BlockNumber>)
-> Result<Option<TraceResults>, Error>
request: CallRequest,
flags: Vec<String>,
block: Trailing<BlockNumber>)
-> Result<Option<TraceResults>, Error>
Executes the given call and returns a number of possible traces for it.
fn raw_transaction(&self,
raw_transaction: Bytes,
flags: Vec<String>,
block: Trailing<BlockNumber>)
-> Result<Option<TraceResults>, Error>
raw_transaction: Bytes,
flags: Vec<String>,
block: Trailing<BlockNumber>)
-> Result<Option<TraceResults>, Error>
Executes the given raw transaction and returns a number of possible traces for it.
fn replay_transaction(&self,
transaction_hash: H256,
flags: Vec<String>)
-> Result<Option<TraceResults>, Error>
transaction_hash: H256,
flags: Vec<String>)
-> Result<Option<TraceResults>, Error>
Executes the transaction with the given hash and returns a number of possible traces for it.
fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
Transform this into an IoDelegate
, automatically wrapping the parameters. Read more