Skip to content

Commit

Permalink
Update debug_traceBlock* docs
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandra Tran <[email protected]>
  • Loading branch information
Alexandra Tran committed Feb 19, 2025
1 parent ce839ac commit d00ff32
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions docs/public-networks/reference/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1763,13 +1763,16 @@ Returns full trace of all invoked opcodes of all transactions included in the bl
- `block`: _string_ - RLP of the block
- `options`: _object_ - request options object with the following fields (all optional and default to `false`):
- `options`: _object_ - (optional) request options object with the following fields:
- `disableStorage`: _boolean_ - `true` disables storage capture.
The default is `false`.
- `disableMemory`: _boolean_ - `true` disables memory capture.
The default is `true`.
- `disableStack` : _boolean_ - `true` disables stack capture.
The default is `false`.
#### Returns
Expand Down Expand Up @@ -1817,9 +1820,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"debug_traceBlock","params":["0xf
"gas": 0,
"gasCost": 0,
"depth": 1,
"stack": [],
"memory": [],
"storage": null
"stack": []
}
]
}
Expand All @@ -1838,13 +1839,16 @@ Returns full trace of all invoked opcodes of all transactions included in the bl
- `blockHash`: _string_ - block hash
- `options`: _object_ - request options object with the following fields (all optional and default to `false`):
- `options`: _object_ - (optional) request options object with the following fields:
- `disableStorage`: _boolean_ - `true` disables storage capture.
The default is `false`.
- `disableMemory`: _boolean_ - `true` disables memory capture.
The default is `true`.
- `disableStack` : _boolean_ - `true` disables stack capture.
The default is `false`.
#### Returns
Expand Down Expand Up @@ -1894,8 +1898,6 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"debug_traceBlockByHash","params"
"gasCost": 0,
"depth": 1,
"stack": [],
"memory": [],
"storage": {},
"reason": null
}
]
Expand All @@ -1922,13 +1924,16 @@ Returns full trace of all invoked opcodes of all transactions included in the bl
`pending` returns the same value as `latest`.
:::
- `options`: _object_ - request options object with the following fields (all optional and default to `false`):
- `options`: _object_ - (optional) request options object with the following fields:
- `disableStorage`: _boolean_ - `true` disables storage capture.
The default is `false`.
- `disableMemory`: _boolean_ - `true` disables memory capture.
The default is `true`.
- `disableStack` : _boolean_ - `true` disables stack capture.
The default is `false`.
#### Returns
Expand Down Expand Up @@ -1976,8 +1981,6 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"debug_traceBlockByNumber","param
"gasCost": 0,
"depth": 1,
"stack": [],
"memory": [],
"storage": null,
"reason": null
}
]
Expand Down

0 comments on commit d00ff32

Please sign in to comment.