Parameters
- blockNumberstringREQUIRED
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
The block traces, which have the following fields (all return types are hexadecimal unless otherwise noted)
- actionobject
The ParityTrace action object containing call details
- 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 input 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
The ParityTrace result object containing execution outcome
- gasUsedstring
The amount of gas used by this specific transaction
- outputstring
The return value of the contract call, empty if no RETURN executed
- subtracesinteger
The number of subtraces (internal calls) made by the transaction
- traceAddressarray
The list of addresses where the call executed, including parent addresses and call order
- transactionHashstring
The hash of the transaction
- transactionPositioninteger
The transaction index position within the block
- typestring
The type of the trace, such as call or create
- errorstring
The error message, if any
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"action": {7"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",8"callType": "call",9"gas": "0xee8b0",10"input": "0x015d8eb900000000000000000000000000000000000000000000000000000000012174e000000000000000000000000000000000000000000000000000000000659d4f9700000000000000000000000000000000000000000000000000000003949158772dd455b8f43b8a523ba6b51d397263f20e6550ec310b83562f455de04eaa3de900000000000000000000000000000000000000000000000000000000000000010000000000000000000000005050f69a9786f081509234f1a7f4684b5e5b76c900000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000a6fe0",11"to": "0x4200000000000000000000000000000000000015",12"value": "0x0"13},14"blockHash": "0x69e2ae442adf3bef34165fac8f3602b8cf9d5973fb883804f119286ce96f6eb8",15"blockNumber": 9009586,16"result": {17"gasUsed": "0xa07d",18"output": "0x"19},20"subtraces": 1,21"traceAddress": [],22"transactionHash": "0xbaa27fa540f50254c7200cacfb5c725174f96ae3198b653853e1353a9bdc03b2",23"transactionPosition": 0,24"type": "call"25}26]27}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"action": {7"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",8"callType": "call",9"gas": "0xee8b0",10"input": "0x015d8eb900000000000000000000000000000000000000000000000000000000012174e000000000000000000000000000000000000000000000000000000000659d4f9700000000000000000000000000000000000000000000000000000003949158772dd455b8f43b8a523ba6b51d397263f20e6550ec310b83562f455de04eaa3de900000000000000000000000000000000000000000000000000000000000000010000000000000000000000005050f69a9786f081509234f1a7f4684b5e5b76c900000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000a6fe0",11"to": "0x4200000000000000000000000000000000000015",12"value": "0x0"13},14"blockHash": "0x69e2ae442adf3bef34165fac8f3602b8cf9d5973fb883804f119286ce96f6eb8",15"blockNumber": 9009586,16"result": {17"gasUsed": "0xa07d",18"output": "0x"19},20"subtraces": 1,21"traceAddress": [],22"transactionHash": "0xbaa27fa540f50254c7200cacfb5c725174f96ae3198b653853e1353a9bdc03b2",23"transactionPosition": 0,24"type": "call"25}26]27}