For the parity node, the response for getting the transaction trace contain "callType"
and "type"
which are all "call"
. But for geth node we only get 'type':'Call'
. So I am confused, whats the difference between "callType"
and "type"
?
...
"action": {
"callType": "call",
"from": "0x8871759b2530fee82cd1b31c534252a1db707b0b",
"gas": "0x25ce48",
"input": "0x3dea52fc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000077e772392b600000000000000000000000000000000000000000000000000000000000000000001",
"to": "0x94c0d029a7b64bf443e89c5006089364c0d60d61",
"value": "0x0"
},
"blockHash": "0xbe847be2bceb74e660daf96b3f0669d58f59dc9101715689a00ef864a5408f43",
"blockNumber": 6000000,
"result": {
"gasUsed": "0x2532ed",
"output": "0x"
},
"subtraces": 1,
"traceAddress": [],
"transactionHash": "0x626590b434e06b79fdd2187b28a55569f6c0636c6806808beb6ce2c743e88188",
"transactionPosition": 45,
"type": "call"},
...
...
but for geth node, I got:
...
'result': {'type': 'CALL',
'from': '0x8871759b2530fee82cd1b31c534252a1db707b0b',
'to': '0x94c0d029a7b64bf443e89c5006089364c0d60d61',
'value': '0x0',
'gas': '0x25ce48',
'gasUsed': '0x2532ed',
'input': '0x3dea52fc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000077e772392b600000000000000000000000000000000000000000000000000000000000000000001'
'0x3dea52fc00000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000003e800000000
0000000000000000000000000000000000000000077e772392b600000000000000000000000000000000000000000000000000000000000000000001',
'output': '0x',
'time': '10.824367485s',
...