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
pull/23860/head
Ev 3 years ago committed by GitHub
parent e40b377183
commit 3b47d95e1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      docs/_rpc/ns-debug.md

@ -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…
Cancel
Save