- complex.sol: the contract used for testing
- trace.js: the js script to trace internal transactions
- response_raw.json: raw response in json
- response_format.txt: formated response
run node trace.js
to get the inner transactions. The txhash
and node url
is hardcoded into the script.
curl example:
curl --request POST 'http://40.70.223.9:9500' --header 'Content-Type: application/json' --data-raw '{
"jsonrpc": "2.0",
"method": "debug_traceTransaction",
"params": ["0x23ade9fdc308d41b39b81a841b208d1330a23f6bb2dcf34396a805f97f1de884", {"tracer": "callTracer"}],
"id": 1
}'