Skip to content

Commit cdb896f

Browse files
authored
docs(trace): fix trace_callMany params structure and formatting inconsistencies (#20051)
1 parent 4f5b842 commit cdb896f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/vocs/docs/pages/jsonrpc/trace.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ The second and optional parameter is a block number, block hash, or a block tag
222222

223223
| Client | Method invocation |
224224
| ------ | ---------------------------------------------------------- |
225-
| RPC | `{"method": "trace_callMany", "params": [trace[], block]}` |
225+
| RPC | `{"method": "trace_callMany", "params": [[[tx, type[]], ...], block]}` |
226226

227227
### Example
228228

@@ -502,7 +502,7 @@ Returns trace at given position.
502502

503503
| Client | Method invocation |
504504
| ------ | -------------------------------------------------------- |
505-
| RPC | `{"method": "trace_get", "params": [tx_hash,indices[]]}` |
505+
| RPC | `{"method": "trace_get", "params": [tx_hash, indices[]]}` |
506506

507507
### Example
508508

@@ -521,13 +521,13 @@ Returns trace at given position.
521521
"value": "0x0"
522522
},
523523
"blockHash": "0x7eb25504e4c202cf3d62fd585d3e238f592c780cca82dacb2ed3cb5b38883add",
524-
"blockNumber": 3068185,
525-
"result": {
524+
"blockNumber": 3068185,
525+
"result": {
526526
"gasUsed": "0x183",
527527
"output": "0x0000000000000000000000000000000000000000000000000000000000000001"
528528
},
529529
"subtraces": 0,
530-
"traceAddress": [
530+
"traceAddress": [
531531
0
532532
],
533533
"transactionHash": "0x17104ac9d3312d8c136b7f44d4b8b47852618065ebfa534bd2d3b5ef218ca1f3",

0 commit comments

Comments
 (0)