Parameters
The transaction call object which contains the following fields:
The string of the address the transaction is sent from
The string of the address to the transaction is directed to
The integer of the gas provided for the transaction execution
The integer of the gasPrice used for each paid gas encoded as hexadecimal
The integer of the value sent with this transaction encoded as hexadecimal
The string of the hash of the method signature and encoded parameters, see the Ethereum Contract ABI
The type of trace, which can be one of the following:
To get a full trace of the virtual machine's state during the execution of the given of given transaction, including for any subcells
To get the basic trace of the given transaction
To get information on altered Ethereum state due to execution of the given transaction
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
The block traces, which have the following fields (please note that all return types are hexadecimal representations of their data type unless otherwise stated):
The data which is returned as an output encoded in hexadecimal format
It returns the information on altered Ethereum state due to execution of the given transaction
It is used to retrieve the basic trace of the given information
The action to be performed on the receiver id:
The address of the sender
The type of method such as call, delegatecall
The gas provided by the sender, encoded as hexadecimal
The data sent along with the transaction
The address of the receiver
The integer of the value sent with this transaction, encoded as hexadecimal
The integer of the gas price used encoded as hexadecimal
The amount of gas used by this specific transaction alone
The value returned by the contract call, and it only contains the actual value sent by the RETURN method. If the RETURN method was not executed, the output is empty bytes
The traces of contract calls made by the transaction
The list of addresses where the call executed, the address of the parents and the order of the current sub call
The value of the method such as call or create
It is used to get a full trace of the virtual machine's state during the execution of the given transaction, including for any sub-calls
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"output": "0x0000000000000000000000000000000000000000000000000858898f93629000",6"stateDiff": null,7"trace": [8{9"action": {10"from": "0x0000000000000000000000000000000000000000",11"callType": "call",12"gas": "0x8000000041905749",13"input": "0x70a082310000000000000000000000006e0d01a76c3cf4288372a29124a26d4353ee51be",14"to": "0x6b175474e89094c44da98b954eedeac495271d0f",15"value": "0x0"16},17"result": {18"gasUsed": "0xa2a",19"output": "0x0000000000000000000000000000000000000000000000000858898f93629000"20},21"subtraces": 0,22"traceAddress": [],23"type": "call"24}25],26"vmTrace": null27}28}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"output": "0x0000000000000000000000000000000000000000000000000858898f93629000",6"stateDiff": null,7"trace": [8{9"action": {10"from": "0x0000000000000000000000000000000000000000",11"callType": "call",12"gas": "0x8000000041905749",13"input": "0x70a082310000000000000000000000006e0d01a76c3cf4288372a29124a26d4353ee51be",14"to": "0x6b175474e89094c44da98b954eedeac495271d0f",15"value": "0x0"16},17"result": {18"gasUsed": "0xa2a",19"output": "0x0000000000000000000000000000000000000000000000000858898f93629000"20},21"subtraces": 0,22"traceAddress": [],23"type": "call"24}25],26"vmTrace": null27}28}