Module Rpc_encodings.Tezosx

type http_trace_entry = {
  1. tx_hash : Evm_node_lib_dev_encoding.Ethereum_types.hash;
  2. traces : Simulation.http_trace list;
}

Shared wire shape for the three http_trace* replay RPCs. The Http_trace_transaction response is a single http_trace_entry, and the two block-level variants return a list of them. All three share the same JSON encoding so any future change to the per-transaction wire format happens in one place.

val http_trace_entry_encoding : http_trace_entry Tezos_base.TzPervasives.Data_encoding.t
module Trace_call : sig ... end

Implements http_traceTransaction: re-runs the block containing the given transaction with HTTP trace capture enabled and returns the collected HTTP exchanges.

Implements http_traceBlockByNumber: re-runs the block at the given block number with HTTP trace capture enabled and returns one entry per transaction, in transaction order.

Same as Http_trace_block_by_number but indexed by block hash.