Trace tx

TraceTx implements the `debug_traceTransaction` rpc api

get
Query parameters
msg.data.type_urlstringOptional

A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in path/google.protobuf.Duration). The name should be in a canonical form (e.g., leading "." is not accepted).

In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme http, https, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows:

  • If no scheme is provided, https is assumed.
  • An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error.
  • Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.)

Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com.

Schemes other than http, https (or the empty scheme) might be used with implementation specific semantics.

msg.data.valuestringOptional

Must be a valid serialized protocol buffer of the above specified type.

msg.sizenumber · doubleOptional

DEPRECATED: encoded storage size of the transaction.

msg.hashstringOptional

transaction hash in hex format.

msg.fromstringOptional

ethereum signer address in hex format. This address value is checked against the address derived from the signature (V, R, S) using the secp256k1 elliptic curve.

trace_config.tracerstringOptional

custom javascript tracer.

trace_config.timeoutstringOptional

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

trace_config.reexecstring · uint64Optional

number of blocks the tracer is willing to go back.

trace_config.disable_stackbooleanOptional

disable stack capture.

trace_config.disable_storagebooleanOptional

disable storage capture.

trace_config.debugbooleanOptional

print output during capture end.

trace_config.limitinteger · int32Optional

maximum length of output, but zero means unlimited.

trace_config.overrides.homestead_blockstringOptional

Homestead switch block (nil no fork, 0 = already homestead).

trace_config.overrides.dao_fork_blockstringOptional

TheDAO hard-fork switch block (nil no fork).

trace_config.overrides.dao_fork_supportbooleanOptional

Whether the nodes supports or opposes the DAO hard-fork.

trace_config.overrides.eip150_blockstringOptional

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

trace_config.overrides.eip150_hashstringOptional

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

trace_config.overrides.eip155_blockstringOptional

EIP155Block HF block.

trace_config.overrides.eip158_blockstringOptional

EIP158 HF block.

trace_config.overrides.byzantium_blockstringOptional

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

trace_config.overrides.constantinople_blockstringOptional

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

trace_config.overrides.petersburg_blockstringOptional

Petersburg switch block (nil same as Constantinople).

trace_config.overrides.istanbul_blockstringOptional

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

trace_config.overrides.muir_glacier_blockstringOptional

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

trace_config.overrides.berlin_blockstringOptional

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

trace_config.overrides.london_blockstringOptional

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

trace_config.overrides.arrow_glacier_blockstringOptional

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

trace_config.overrides.gray_glacier_blockstringOptional

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

trace_config.overrides.merge_netsplit_blockstringOptional

Virtual fork after The Merge to use as a network splitter.

trace_config.enable_memorybooleanOptional

enable memory capture.

trace_config.enable_return_databooleanOptional

enable return data capture.

trace_config.tracer_json_configstringOptional

tracer config.

block_numberstring · int64Optional

block number of requested transaction.

block_hashstringOptional

block hex hash of requested transaction.

block_timestring · date-timeOptional

block time of requested transaction.

proposer_addressstringOptional

the proposer of the requested block.

Responses
200

A successful response.

application/json
get
GET /ethermint/evm/v1/trace_tx HTTP/1.1
Host: rest.origin.uptick.network
Accept: */*
{
  "data": "text"
}

Last updated