anvil::eth::otterscan::api

Function batch_build_ots_traces

Source
pub fn batch_build_ots_traces(
    traces: Vec<LocalizedTransactionTrace>,
) -> Vec<TraceEntry>
Expand description

Converts the list of traces for a transaction into the expected Otterscan format.

Follows format specified in the ots_traceTransaction spec.