Skip to main content

parse_traces

Function parse_traces 

Source
pub fn parse_traces(value: Value) -> Result<Vec<TxTrace>, TraceError>
Expand description

Parses any of the shapes produced by debug_traceTransaction and debug_traceBlockBy* with the prestateTracer in diff mode: a bare result, an array of per-transaction results, or a full JSON-RPC response.