debug_traceTransaction
Reference: Here
Parameters
tracerConfig {
"onlyTopCall": true,
"enableMemory": true,
"disableStack": true,
"disableStorage": true,
"enableReturnData": true
}Returns
Last updated
Was this helpful?
Was this helpful?
// Result
{
"jsonrpc": "2.0",
"result": {
"type": "CALL",
"from": "0xc8aabc230695df0e36047abe353fcc432c54efb3",
"to": "0x0000000000000000000000000000000000437aa3",
"value": "0x0",
"gas": "0x2625a0",
"gasUsed": "0x1e8480",
"input": "0x0fc4d33c0000000000000000000000000000000000000000000000000000000000000025",
"output": "0x"
},
"id": "73"
}curl https://mainnet.hedera.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0",
"method": "debug_traceTransaction",
"params": [
"0x05fdd02b8496b4993f49dfb946bf88984196c7c06883ffd597ab76dc1b696d3a",
{
"tracer": "callTracer",
"tracerConfig": {
"onlyTopCall": true
}
}
],
"id": "73"
}'curl https://testnet.hedera.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0",
"method": "debug_traceTransaction",
"params": [
"0x5dee41c73116ff6b57c4b0adc45f9ff4472dd643549a0fd31e929fa4350c77da",
{
"tracer": "callTracer",
"tracerConfig": {
"onlyTopCall": true
}
}
],
"id": "73"
}'