alloy_rpc_types_trace::geth

Type Alias TraceResult

Source
pub type TraceResult = TraceResult<GethTrace, String>;
Expand description

Result type for geth style transaction trace

Aliased Type§

enum TraceResult {
    Success {
        result: GethTrace,
        tx_hash: Option<FixedBytes<32>>,
    },
    Error {
        error: String,
        tx_hash: Option<FixedBytes<32>>,
    },
}

Variants§

§

Success

Untagged success variant

Fields

§result: GethTrace

Trace results produced by the tracer

§tx_hash: Option<FixedBytes<32>>

transaction hash

§

Error

Untagged error variant

Fields

§error: String

Trace failure produced by the tracer

§tx_hash: Option<FixedBytes<32>>

transaction hash