docs: fixed traceTransaction with custom tracer example (#19512)
Fixed traceTransacion with custom tracer example.
This commit is contained in:
committed by
Martin Holst Swende
parent
06cb6ae975
commit
fa1bc98763
@ -787,7 +787,7 @@ Note that several values are Golang big.Int objects, not JavaScript numbers or J
|
|||||||
|
|
||||||
Usage example, returns the top element of the stack at each CALL opcode only:
|
Usage example, returns the top element of the stack at each CALL opcode only:
|
||||||
|
|
||||||
debug.traceTransaction(txhash, {tracer: '{data: [], step: function(log) { if(log.op.toString() == "CALL") this.data.push(log.stack.peek(0)); }, result: function() { return this.data; }}'});
|
debug.traceTransaction(txhash, {tracer: '{data: [], fault: function(log) {}, step: function(log) { if(log.op.toString() == "CALL") this.data.push(log.stack.peek(0)); }, result: function() { return this.data; }}'});
|
||||||
|
|
||||||
### debug_verbosity
|
### debug_verbosity
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user