Skip to content

Commit ec910de

Browse files
author
Alexandra Tran
committed
Merge branch 'main' of github.com:hyperledger/besu-docs
2 parents ce839ac + 02b1979 commit ec910de

File tree

1 file changed

+15
-14
lines changed
  • docs/public-networks/reference/api

1 file changed

+15
-14
lines changed

docs/public-networks/reference/api/index.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,13 +1763,16 @@ Returns full trace of all invoked opcodes of all transactions included in the bl
17631763
17641764
- `block`: _string_ - RLP of the block
17651765
1766-
- `options`: _object_ - request options object with the following fields (all optional and default to `false`):
1766+
- `options`: _object_ - (optional) request options object with the following fields:
17671767
17681768
- `disableStorage`: _boolean_ - `true` disables storage capture.
1769+
The default is `false`.
17691770
17701771
- `disableMemory`: _boolean_ - `true` disables memory capture.
1772+
The default is `true`.
17711773
17721774
- `disableStack` : _boolean_ - `true` disables stack capture.
1775+
The default is `false`.
17731776
17741777
#### Returns
17751778
@@ -1817,9 +1820,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"debug_traceBlock","params":["0xf
18171820
"gas": 0,
18181821
"gasCost": 0,
18191822
"depth": 1,
1820-
"stack": [],
1821-
"memory": [],
1822-
"storage": null
1823+
"stack": []
18231824
}
18241825
]
18251826
}
@@ -1838,13 +1839,16 @@ Returns full trace of all invoked opcodes of all transactions included in the bl
18381839
18391840
- `blockHash`: _string_ - block hash
18401841
1841-
- `options`: _object_ - request options object with the following fields (all optional and default to `false`):
1842+
- `options`: _object_ - (optional) request options object with the following fields:
18421843
18431844
- `disableStorage`: _boolean_ - `true` disables storage capture.
1845+
The default is `false`.
18441846
18451847
- `disableMemory`: _boolean_ - `true` disables memory capture.
1848+
The default is `true`.
18461849
18471850
- `disableStack` : _boolean_ - `true` disables stack capture.
1851+
The default is `false`.
18481852
18491853
#### Returns
18501854
@@ -1893,10 +1897,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"debug_traceBlockByHash","params"
18931897
"gas": 0,
18941898
"gasCost": 0,
18951899
"depth": 1,
1896-
"stack": [],
1897-
"memory": [],
1898-
"storage": {},
1899-
"reason": null
1900+
"stack": []
19001901
}
19011902
]
19021903
}
@@ -1922,13 +1923,16 @@ Returns full trace of all invoked opcodes of all transactions included in the bl
19221923
`pending` returns the same value as `latest`.
19231924
:::
19241925
1925-
- `options`: _object_ - request options object with the following fields (all optional and default to `false`):
1926+
- `options`: _object_ - (optional) request options object with the following fields:
19261927
19271928
- `disableStorage`: _boolean_ - `true` disables storage capture.
1929+
The default is `false`.
19281930
19291931
- `disableMemory`: _boolean_ - `true` disables memory capture.
1932+
The default is `true`.
19301933
19311934
- `disableStack` : _boolean_ - `true` disables stack capture.
1935+
The default is `false`.
19321936
19331937
#### Returns
19341938
@@ -1975,10 +1979,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"debug_traceBlockByNumber","param
19751979
"gas": 0,
19761980
"gasCost": 0,
19771981
"depth": 1,
1978-
"stack": [],
1979-
"memory": [],
1980-
"storage": null,
1981-
"reason": null
1982+
"stack": []
19821983
}
19831984
]
19841985
}

0 commit comments

Comments
 (0)