Type Alias reth_node_core::rpc::types::trace::geth::call::FlatCallFrame

pub type FlatCallFrame = LocalizedTransactionTrace;
Expand description

The response object for debug_traceTransaction with "tracer": "flatCallTracer".

That is equivalent to parity’s LocalizedTransactionTrace https://github.com/ethereum/go-ethereum/blob/0dd173a727dd2d2409b8e401b22e85d20c25b71f/eth/tracers/native/call_flat.go#L62-L62

Aliased Type§

struct FlatCallFrame {
    pub trace: TransactionTrace,
    pub block_hash: Option<FixedBytes<32>>,
    pub block_number: Option<u64>,
    pub transaction_hash: Option<FixedBytes<32>>,
    pub transaction_position: Option<u64>,
}

Fields§

§trace: TransactionTrace

Trace of the transaction and its result.

§block_hash: Option<FixedBytes<32>>

Hash of the block, if not pending.

Note: this deviates from https://openethereum.github.io/JSONRPC-trace-module#trace_transaction which always returns a block number

§block_number: Option<u64>

Block number the transaction is included in, None if pending.

Note: this deviates from https://openethereum.github.io/JSONRPC-trace-module#trace_transaction which always returns a block number

§transaction_hash: Option<FixedBytes<32>>

Hash of the transaction

§transaction_position: Option<u64>

Transaction index within the block, None if pending.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 352 bytes