debug_traceTransaction: Transaction tracing.

Description Usage Arguments Value See Also Examples

View source: R/debug.R

Description

debug_traceTransaction attempts to run the transaction in the exact same manner as it was executed on the network. It will replay any transaction that may have been executed prior to this one before it will finally attempt to execute the transaction that corresponds to the given hash.

Usage

1
2
3
debug_traceTransaction(hash, disableStorage = NULL,
  disableMemory = NULL, disableStack = NULL, tracer = NULL,
  timeout = NULL)

Arguments

hash

Data - Hash of the transaction.

disableStorage

Boolean - Setting this to true will disable storage capture (default = false).

disableMemory

Boolean - Setting this to true will disable memory capture (default = false)

disableStack

Boolean - Setting this to true will disable stack capture (default = false)

tracer

String - Setting this will enable JavaScript-based transaction tracing. If set, the previous arguments will be ignored.

timeout

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

Value

Object - Full trace of the transaction.

See Also

Other debug functions: debug_backtraceAt, debug_blockProfile, debug_cpuProfile, debug_dumpBlock, debug_gcStats, debug_getBlockRlp, debug_goTrace, debug_memStats, debug_seedHash, debug_setBlockProfileRate, debug_setHead, debug_stacks, debug_startCPUProfile, debug_startGoTrace, debug_stopCPUProfile, debug_stopGoTrace, debug_traceBlockByHash, debug_traceBlockByNumber, debug_traceBlockFromFile, debug_traceBlock, debug_verbosity, debug_vmodule, debug_writeBlockProfile, debug_writeMemProfile, gethr

Examples

1
2
3
4
debug_traceTransaction('0xe45f738135240ce9cedc58b21148ef424704e5c86798990a5
a36cb1ca4c5c3f4')
debug_traceTransaction('0xe45f738135240ce9cedc58b21148ef424704e5c86798990a5
a36cb1ca4c5c3f4', disableStorage = TRUE, disableStack = TRUE)

gethr documentation built on May 2, 2019, 7:03 a.m.