docs: fix debug_traceCall example (#23817)
* Fixes debug_traceCall example - Closes double quote, fixing syntax error on debug.traceCall example - Uses double quotes on call object, to make it easier to paste to raw RPC requests * nitpick: fixes length of `from` address on debug_traceCall example
This commit is contained in:
parent
e40b377183
commit
3b47d95e1d
|
@ -575,12 +575,12 @@ No specific call options:
|
|||
Tracing a call with a destination and specific sender, disabling the storage and memory output (less data returned over RPC)
|
||||
```
|
||||
debug.traceCall({
|
||||
from: "0xdeadbeef292929291929394949595949339292929,
|
||||
to:"0xde929f939d939d393f939393f93939f393929023",
|
||||
gas: "0x7a120",
|
||||
data: "0xf00d4b5d00000000000000000000000001291230982139282304923482304912923823920000000000000000000000001293123098123928310239129839291010293810"
|
||||
},
|
||||
"latest", {disableStorage:true, disableMemory: true})
|
||||
"from": "0xdeadbeef29292929192939494959594933929292",
|
||||
"to": "0xde929f939d939d393f939393f93939f393929023",
|
||||
"gas": "0x7a120",
|
||||
"data": "0xf00d4b5d00000000000000000000000001291230982139282304923482304912923823920000000000000000000000001293123098123928310239129839291010293810"
|
||||
},
|
||||
"latest", {"disableStorage": true, "disableMemory": true})
|
||||
```
|
||||
Curl example:
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue