Parameters
- hashstringREQUIRED
The hash of a transaction
Returns
- arrayarray
The block traces, which have the following fields (please note that all return types are hexadecimal representations of their data type unless otherwise stated):
- actionobject
The action to be performed on the receiver id
- fromstring
The address of the sender
- callTypestring
The type of method such as call, 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 integer of the value sent with this transaction, encoded as hexadecimal
- blockHashstring
The hash of the block where this transaction was in
- blockNumberinteger
The block number where this transaction was in
- resultobject | null
The integer of the gas price used encoded as hexadecimal
- gasUsedstring
The total used gas by all transactions in this block encoded as hexadecimal
- outputstring
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
- subtracesinteger
The traces of contract calls made by the transaction
- traceAddressarray
The list of addresses where the call was executed, the address of the parents, and the order of the current sub call
- transactionHashstring
The hash of the transaction
- transactionPositioninteger
The transaction position
- typestring
The value of the method such as call or create
- errorstring
(Conditional) Error message when execution fails.
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"action": {7"from": "0xfffffffffffffffffffffffffffffffffffffffe",8"callType": "call",9"gas": "0x1c96fc8",10"input": "0x092193ab000000000000000000000000514708beda3441cc4e141f8546c096eaab7c8a05",11"to": "0x0000000000000000000000000000000000002002",12"value": "0x3782dace9d900000"13},14"blockHash": "0x464dc0fc78ef448e18597261ac67ecfdf3c5a6ba0a86d30947ca4d379f0fc46b",15"blockNumber": 327680,16"error": "Insufficient balance for transfer",17"result": null,18"subtraces": 0,19"traceAddress": [],20"transactionHash": "0x5d005403489e1bc301344d2b51fa7f403372cf4e7941c2861aa320f1605c9dd4",21"transactionPosition": 0,22"type": "call"23}24]25}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"action": {7"from": "0xfffffffffffffffffffffffffffffffffffffffe",8"callType": "call",9"gas": "0x1c96fc8",10"input": "0x092193ab000000000000000000000000514708beda3441cc4e141f8546c096eaab7c8a05",11"to": "0x0000000000000000000000000000000000002002",12"value": "0x3782dace9d900000"13},14"blockHash": "0x464dc0fc78ef448e18597261ac67ecfdf3c5a6ba0a86d30947ca4d379f0fc46b",15"blockNumber": 327680,16"error": "Insufficient balance for transfer",17"result": null,18"subtraces": 0,19"traceAddress": [],20"transactionHash": "0x5d005403489e1bc301344d2b51fa7f403372cf4e7941c2861aa320f1605c9dd4",21"transactionPosition": 0,22"type": "call"23}24]25}