# 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]

#### `fn new(client: &Arc<C>, miner: &Arc<M>) -> Self`

Creates new Traces client.

## 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>`

Returns all traces produced at given block.

#### `fn transaction_traces(&self,
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>`

Returns transaction trace at given index.

#### `fn call(&self,
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>`

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>`

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

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)