Parameters
- objectobject
The filter object
- fromBlockstring
(Optional) The block number or tag
- toBlockstring
(Optional) The block number or tag
- fromAddressarray
(Optional) The addresses of the Senders.
- toAddressarray
(Optional) The addresses of the receivers.
- afterQuantityinteger
(Optional) The offset trace number.
- countinteger
(Optional) The number of traces to display in a batch.
Returns
- array
The block traces, which have the following fields (please note that all return types are hexadecimal representations of their data type unless otherwise stated)
- action
The ParityTrace object, which has the following fields:
- from
The address of the sender
- callType
The type of method such as call, delegatecall
- gas
The gas provided by the sender, encoded as hexadecimal
- input
The data sent along with the transaction
- to
The address of the receiver
- value
The integer of the value sent with this transaction, encoded as hexadecimal
- blockHash
The hash of the block where this transaction was in
- blockNumber
An integer value representing the block number where this transaction was in
- error
The error message, if any
- result
The ParityTraceResult object which has the following fields:
- gasUsed
The amount of gas used by this specific transaction alone
- output
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
- subtraces
The traces of contract calls made by the transaction
- traceAddress
The list of addresses where the call executed, the address of the parents and the order of the current sub call
- transactionHash
The hash of the transaction
- transactionPosition
The transaction position
- type
The value of the method such as call or create
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"action": {7"callType": "call",8"from": "0xe14c9bac4dd3dc7096f4b5ed15910abc79d95d2b",9"gas": "0x386006b",10"input": "0x9699ccb300000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000035e6bd6bf39e00000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000400000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc8000000000000000000000000fd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb900000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab10000000000000000000000000000000000000000000000000000000000000003000000000000000000000000489ee077994b6658eafa855c308275ead8097c4a0000000000000000000000007f90122bf0700f9e7e1f688fe926940e8839f353000000000000000000000000641c00a822e8b671738d32a431a4fb6074e5c79d0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002",11"to": "0xbf7faed477fa1de18d66b2138dc8d2a9a85e9e4b",12"value": "0x0"13},14"blockHash": "0xa53497efac5eefca5d9d4e199ab05d67f1c3f94c494aedcfdaee6b314bab47f7",15"blockNumber": 10977643,16"result": {17"gasUsed": "0xd3939",18"output": "0x0000000000000000000000000000000000000000000000000007e82c1ec44971"19},20"subtraces": 12,21"traceAddress": [],22"transactionHash": "0xefea266d5c01e68abdc63f640bc7054fdfa951df34beec17faa90dfc42e075b9",23"transactionPosition": 0,24"type": "call"25},26{27"action": {28"callType": "staticcall",29"from": "0xbf7faed477fa1de18d66b2138dc8d2a9a85e9e4b",30"gas": "0x240865",31"input": "0x70a08231000000000000000000000000bf7faed477fa1de18d66b2138dc8d2a9a85e9e4b",32"to": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",33"value": "0x0"34},35"blockHash": "0xa53497efac5eefca5d9d4e199ab05d67f1c3f94c494aedcfdaee6b314bab47f7",36"blockNumber": 10977643,37"result": {38"gasUsed": "0x23f",39"output": "0x0000000000000000000000000000000000000000000000059f49c0acbf9e63c7"40},41"subtraces": 1,42"traceAddress": [43044],45"transactionHash": "0xefea266d5c01e68abdc63f640bc7054fdfa951df34beec17faa90dfc42e075b9",46"transactionPosition": 0,47"type": "call"48},49{50"action": {51"callType": "delegatecall",52"from": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",53"gas": "0x237750",54"input": "0x70a08231000000000000000000000000bf7faed477fa1de18d66b2138dc8d2a9a85e9e4b",55"to": "0x8b194beae1d3e0788a1a35173978001acdfba668",56"value": "0x0"57},58"blockHash": "0xa53497efac5eefca5d9d4e199ab05d67f1c3f94c494aedcfdaee6b314bab47f7",59"blockNumber": 10977643,60"result": {61"gasUsed": "0x11e",62"output": "0x0000000000000000000000000000000000000000000000059f49c0acbf9e63c7"63},64"subtraces": 0,65"traceAddress": [660,67068],69"transactionHash": "0xefea266d5c01e68abdc63f640bc7054fdfa951df34beec17faa90dfc42e075b9",70"transactionPosition": 0,71"type": "call"72}73]74}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"action": {7"callType": "call",8"from": "0xe14c9bac4dd3dc7096f4b5ed15910abc79d95d2b",9"gas": "0x386006b",10"input": "0x9699ccb300000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000035e6bd6bf39e00000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000400000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc8000000000000000000000000fd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb900000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab10000000000000000000000000000000000000000000000000000000000000003000000000000000000000000489ee077994b6658eafa855c308275ead8097c4a0000000000000000000000007f90122bf0700f9e7e1f688fe926940e8839f353000000000000000000000000641c00a822e8b671738d32a431a4fb6074e5c79d0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002",11"to": "0xbf7faed477fa1de18d66b2138dc8d2a9a85e9e4b",12"value": "0x0"13},14"blockHash": "0xa53497efac5eefca5d9d4e199ab05d67f1c3f94c494aedcfdaee6b314bab47f7",15"blockNumber": 10977643,16"result": {17"gasUsed": "0xd3939",18"output": "0x0000000000000000000000000000000000000000000000000007e82c1ec44971"19},20"subtraces": 12,21"traceAddress": [],22"transactionHash": "0xefea266d5c01e68abdc63f640bc7054fdfa951df34beec17faa90dfc42e075b9",23"transactionPosition": 0,24"type": "call"25},26{27"action": {28"callType": "staticcall",29"from": "0xbf7faed477fa1de18d66b2138dc8d2a9a85e9e4b",30"gas": "0x240865",31"input": "0x70a08231000000000000000000000000bf7faed477fa1de18d66b2138dc8d2a9a85e9e4b",32"to": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",33"value": "0x0"34},35"blockHash": "0xa53497efac5eefca5d9d4e199ab05d67f1c3f94c494aedcfdaee6b314bab47f7",36"blockNumber": 10977643,37"result": {38"gasUsed": "0x23f",39"output": "0x0000000000000000000000000000000000000000000000059f49c0acbf9e63c7"40},41"subtraces": 1,42"traceAddress": [43044],45"transactionHash": "0xefea266d5c01e68abdc63f640bc7054fdfa951df34beec17faa90dfc42e075b9",46"transactionPosition": 0,47"type": "call"48},49{50"action": {51"callType": "delegatecall",52"from": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",53"gas": "0x237750",54"input": "0x70a08231000000000000000000000000bf7faed477fa1de18d66b2138dc8d2a9a85e9e4b",55"to": "0x8b194beae1d3e0788a1a35173978001acdfba668",56"value": "0x0"57},58"blockHash": "0xa53497efac5eefca5d9d4e199ab05d67f1c3f94c494aedcfdaee6b314bab47f7",59"blockNumber": 10977643,60"result": {61"gasUsed": "0x11e",62"output": "0x0000000000000000000000000000000000000000000000059f49c0acbf9e63c7"63},64"subtraces": 0,65"traceAddress": [660,67068],69"transactionHash": "0xefea266d5c01e68abdc63f640bc7054fdfa951df34beec17faa90dfc42e075b9",70"transactionPosition": 0,71"type": "call"72}73]74}