v1

latestSwagger 2.02026-07-17232455673.4 KB
Query

TraceBlock implements the `debug_traceBlockByNumber` and `debug_traceBlockByHash` rpc api

get/evmos/evm/v1/trace_block

Query parameters

traceConfig.tracerstring

tracer is a custom javascript tracer

traceConfig.timeoutstring

timeout overrides the default timeout of 5 seconds for JavaScript-based tracing calls

traceConfig.reexecstring uint64

reexec defines the number of blocks the tracer is willing to go back

traceConfig.disableStackboolean

disable_stack switches stack capture

traceConfig.disableStorageboolean

disable_storage switches storage capture

traceConfig.debugboolean

debug can be used to print output during capture end

traceConfig.limitinteger

limit defines the maximum length of output, but zero means unlimited

traceConfig.overrides.homesteadBlockstring

homestead_block switch (nil no fork, 0 = already homestead)

traceConfig.overrides.daoForkBlockstring

dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork)

traceConfig.overrides.daoForkSupportboolean

dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork

traceConfig.overrides.eip150Blockstring

eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork)

traceConfig.overrides.eip150Hashstring

eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed)

traceConfig.overrides.eip155Blockstring

eip155_block: EIP155Block HF block

traceConfig.overrides.eip158Blockstring

eip158_block: EIP158 HF block

traceConfig.overrides.byzantiumBlockstring

byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium)

traceConfig.overrides.constantinopleBlockstring

constantinople_block: Constantinople switch block (nil no fork, 0 = already activated)

traceConfig.overrides.petersburgBlockstring

petersburg_block: Petersburg switch block (nil same as Constantinople)

traceConfig.overrides.istanbulBlockstring

istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul)

traceConfig.overrides.muirGlacierBlockstring

muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated)

traceConfig.overrides.berlinBlockstring

berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin)

traceConfig.overrides.londonBlockstring

london_block: London switch block (nil = no fork, 0 = already on london)

traceConfig.overrides.arrowGlacierBlockstring

arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated)

traceConfig.overrides.grayGlacierBlockstring

gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated)

traceConfig.overrides.mergeNetsplitBlockstring

merge_netsplit_block: Virtual fork after The Merge to use as a network splitter

traceConfig.overrides.shanghaiBlockstring

shanghai_block switch block (nil = no fork, 0 = already on shanghai)

traceConfig.overrides.cancunBlockstring

cancun_block switch block (nil = no fork, 0 = already on cancun)

traceConfig.enableMemoryboolean

enable_memory switches memory capture

traceConfig.enableReturnDataboolean

enable_return_data switches the capture of return data

traceConfig.tracerJsonConfigstring

tracer_json_config configures the tracer using a JSON string

blockNumberstring int64

block_number of the traced block

blockHashstring

block_hash (hex) of the traced block

blockTimestring date-time

block_time of the traced block

proposerAddressstring byte

proposer_address is the address of the requested block

chainIdstring int64

chain_id is the eip155 chain id parsed from the requested block header

blockMaxGasstring int64

block_max_gas of the traced block

Response

A successful response.

datastring byte