Parameters
- callsarray
An array of call tuples. Each element must be a 2-element array: [transaction_object, trace_types_array]. The transaction_object contains the following fields:
- fromstring
The string of the address the transaction is sent from
- tostringREQUIRED
The string of the address to the transaction is directed to
- gasstring
The integer of the gas provided for the transaction execution encoded as hexadecimal
- gasPricestring
The integer of the gasPrice used for each paid gas encoded as hexadecimal
- valuestring
The integer of the value sent with this transaction encoded as hexadecimal
- datastring
The string of the hash of the method signature and encoded parameters (also accepts 'input' as an alias), see the Ethereum Contract ABI
- blockNumberstring
The block number as a string in hexadecimal format or tags. The supported tag values include earliest for the earliest/genesis block, latest for the latest mined block, pending for the pending state/transactions, safe for the most recent secure block, and finalized for the most recent secure block accepted by more than 2/3 of validators. safe and finalized are only supported on Ethereum and Gnosis
Returns
- arrayarray
An array of trace result objects for the given transaction
- outputstring
The data returned as output encoded in hexadecimal format
- stateDiffobject
The altered Ethereum state due to execution of the given transaction, or null if not available
- tracearray
An array of trace objects detailing each internal call
- actionobject
The action performed during this trace
- fromstring
The address of the sender
- callTypestring
The type of method such as call, staticcall, delegatecall
- gasstring
The gas provided by the sender, encoded as hexadecimal
- inputstring
The data sent along with the transaction
- tostring
The address of the receiver
- valuestring
The value sent with this transaction encoded as hexadecimal
- resultobject
The execution result of this trace
- gasUsedstring
The amount of gas used by this trace
- outputstring
The return value of the contract call, empty if no RETURN executed
- subtracesinteger
The number of subtraces (internal calls) in this trace
- traceAddressarray
The list of addresses showing the nested call structure
- typestring
The type of trace such as call or create
- vmTraceobject
The full virtual machine execution trace including sub-calls, or null if not available
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"output": "0x",7"stateDiff": null,8"trace": [9{10"action": {11"from": "0x407d73d8a49eeb85d32cf465507dd71d507100c1",12"callType": "call",13"gas": "0x80000000419058f9",14"input": "0x",15"to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",16"value": "0x186a0"17},18"result": {19"gasUsed": "0x0",20"output": "0x"21},22"subtraces": 0,23"traceAddress": [],24"type": "call"25}26],27"vmTrace": null28},29{30"output": "0x",31"stateDiff": null,32"trace": [33{34"action": {35"from": "0x407d73d8a49eeb85d32cf465507dd71d507100c1",36"callType": "call",37"gas": "0x80000000419058f9",38"input": "0x",39"to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",40"value": "0x186a0"41},42"result": {43"gasUsed": "0x0",44"output": "0x"45},46"subtraces": 0,47"traceAddress": [],48"type": "call"49}50],51"vmTrace": null52}53]54}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"output": "0x",7"stateDiff": null,8"trace": [9{10"action": {11"from": "0x407d73d8a49eeb85d32cf465507dd71d507100c1",12"callType": "call",13"gas": "0x80000000419058f9",14"input": "0x",15"to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",16"value": "0x186a0"17},18"result": {19"gasUsed": "0x0",20"output": "0x"21},22"subtraces": 0,23"traceAddress": [],24"type": "call"25}26],27"vmTrace": null28},29{30"output": "0x",31"stateDiff": null,32"trace": [33{34"action": {35"from": "0x407d73d8a49eeb85d32cf465507dd71d507100c1",36"callType": "call",37"gas": "0x80000000419058f9",38"input": "0x",39"to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",40"value": "0x186a0"41},42"result": {43"gasUsed": "0x0",44"output": "0x"45},46"subtraces": 0,47"traceAddress": [],48"type": "call"49}50],51"vmTrace": null52}53]54}