You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_rpc/ns-debug.md
+48-1Lines changed: 48 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -361,7 +361,6 @@ type StdTraceConfig struct {
361
361
362
362
This method is similar to `debug_standardTraceBlockToFile`, but can be used to obtain info about a block which has been _rejected_ as invalid (for some reason).
363
363
364
-
365
364
### debug_traceTransaction
366
365
367
366
**OBS** In most scenarios, `debug.standardTraceBlockToFile` is better suited for tracing!
@@ -515,6 +514,54 @@ Usage example, returns the top element of the stack at each CALL opcode only:
The `debug_traceCall` method lets you run an `eth_call` on top of a given block. The block can be specified either by hash or by number. It takes the same input object as a `eth_call`.
520
+
It returns the same output as `debug_traceTransaction`. A tracer can be specified as a third argument, similar to `debug_traceTransaction`.
521
+
522
+
`Object` - The transaction call object
523
+
- `from`: `DATA`, 20 Bytes - (optional) The address the transaction is sent from.
524
+
- `to`: `DATA`, 20 Bytes - The address the transaction is directed to.
525
+
- `gas`: `QUANTITY` - (optional) Integer of the gas provided for the transaction execution. eth_call consumes zero gas, but this parameter may be needed by some executions.
526
+
- `gasPrice`: `QUANTITY` - (optional) Integer of the gasPrice used for each paid gas
527
+
- `value`: `QUANTITY` - (optional) Integer of the value sent with this transaction
528
+
- `data`: `DATA` - (optional) Hash of the method signature and encoded parameters. For details see Ethereum Contract ABI in the Solidity documentation
0 commit comments