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": "0x4cf46a2bd39133c8ca1e41bd4548eb3a07000000",8"callType": "call",9"gas": "0x54c563",10"input": "0x290c05ea0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000003ea2a2f97a8bf3bbb1a3539bce45c612982ea9bf00000000000000000000000007acace793c28a3936645c1906cea701dd757f04000000000000000000000000c23522b8303874a77d239117f8d66a1ea74047020000000000000000000000004a2407054a73e2834bcab3b7e22420ab02ca46ca000000000000000000000000c71f9e1de80eb505c0cb3bbf90ae6593130e5d2500000000000000000000000032d6b77ee026d471c191ea9ef9ed404d2cb4d4a60000000000000000000000004e6c7d221b5fa285aabdd8c7fa692bc0c79e7d8b000000000000000000000000dd755ebc1c84bdcdf31177f2f20ed9ae3e936854000000000000000000000000d352a852a328d7eccc8bbf63e2e1dd73c68527cd000000000000000000000000fb43803eaf41a516c062e7cfb9d77c65c523590700000000000000000000000076451ea2075ef09f0e31ea86204547ac0caf3647",11"to": "0x164d9b632f0eca9c47e52fe4f8467e4d9eb5149c",12"value": "0x0"13},14"blockHash": "0x0006ba7e2dfed7acc0a49ff984a07397b81bfd19f7b9af12366c2fdd922ae286",15"blockNumber": 36383102,16"result": {17"gasUsed": "0xfbb1",18"output": "0x"19},20"subtraces": 11,21"traceAddress": [],22"transactionHash": "0x1c40d0b859752527f0185e611823eb5d8fc61e8adec9c6bc893ae9f04901a90c",23"transactionPosition": 0,24"type": "call"25},26{27"action": {28"from": "0x164d9b632f0eca9c47e52fe4f8467e4d9eb5149c",29"callType": "staticcall",30"gas": "0x53022e",31"input": "0x70a082310000000000000000000000003ea2a2f97a8bf3bbb1a3539bce45c612982ea9bf",32"to": "0xe538905cf8410324e03a5a23c1c177a474d59b2b",33"value": "0x0"34},35"blockHash": "0x0006ba7e2dfed7acc0a49ff984a07397b81bfd19f7b9af12366c2fdd922ae286",36"blockNumber": 36383102,37"result": {38"gasUsed": "0xa04",39"output": "0x0000000000000000000000000000000000000000000000d458f36fbd3b0ff27e"40},41"subtraces": 0,42"traceAddress": [43044],45"transactionHash": "0x1c40d0b859752527f0185e611823eb5d8fc61e8adec9c6bc893ae9f04901a90c",46"transactionPosition": 0,47"type": "call"48},49{50"action": {51"from": "0x164d9b632f0eca9c47e52fe4f8467e4d9eb5149c",52"callType": "staticcall",53"gas": "0x52ecd4",54"input": "0x70a0823100000000000000000000000007acace793c28a3936645c1906cea701dd757f04",55"to": "0xe538905cf8410324e03a5a23c1c177a474d59b2b",56"value": "0x0"57},58"blockHash": "0x0006ba7e2dfed7acc0a49ff984a07397b81bfd19f7b9af12366c2fdd922ae286",59"blockNumber": 36383102,60"result": {61"gasUsed": "0xa04",62"output": "0x00000000000000000000000000000000000000000000000a78852e8dc0745e6f"63},64"subtraces": 0,65"traceAddress": [66167],68"transactionHash": "0x1c40d0b859752527f0185e611823eb5d8fc61e8adec9c6bc893ae9f04901a90c",69"transactionPosition": 0,70"type": "call"71}72]73}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"action": {7"from": "0x4cf46a2bd39133c8ca1e41bd4548eb3a07000000",8"callType": "call",9"gas": "0x54c563",10"input": "0x290c05ea0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000003ea2a2f97a8bf3bbb1a3539bce45c612982ea9bf00000000000000000000000007acace793c28a3936645c1906cea701dd757f04000000000000000000000000c23522b8303874a77d239117f8d66a1ea74047020000000000000000000000004a2407054a73e2834bcab3b7e22420ab02ca46ca000000000000000000000000c71f9e1de80eb505c0cb3bbf90ae6593130e5d2500000000000000000000000032d6b77ee026d471c191ea9ef9ed404d2cb4d4a60000000000000000000000004e6c7d221b5fa285aabdd8c7fa692bc0c79e7d8b000000000000000000000000dd755ebc1c84bdcdf31177f2f20ed9ae3e936854000000000000000000000000d352a852a328d7eccc8bbf63e2e1dd73c68527cd000000000000000000000000fb43803eaf41a516c062e7cfb9d77c65c523590700000000000000000000000076451ea2075ef09f0e31ea86204547ac0caf3647",11"to": "0x164d9b632f0eca9c47e52fe4f8467e4d9eb5149c",12"value": "0x0"13},14"blockHash": "0x0006ba7e2dfed7acc0a49ff984a07397b81bfd19f7b9af12366c2fdd922ae286",15"blockNumber": 36383102,16"result": {17"gasUsed": "0xfbb1",18"output": "0x"19},20"subtraces": 11,21"traceAddress": [],22"transactionHash": "0x1c40d0b859752527f0185e611823eb5d8fc61e8adec9c6bc893ae9f04901a90c",23"transactionPosition": 0,24"type": "call"25},26{27"action": {28"from": "0x164d9b632f0eca9c47e52fe4f8467e4d9eb5149c",29"callType": "staticcall",30"gas": "0x53022e",31"input": "0x70a082310000000000000000000000003ea2a2f97a8bf3bbb1a3539bce45c612982ea9bf",32"to": "0xe538905cf8410324e03a5a23c1c177a474d59b2b",33"value": "0x0"34},35"blockHash": "0x0006ba7e2dfed7acc0a49ff984a07397b81bfd19f7b9af12366c2fdd922ae286",36"blockNumber": 36383102,37"result": {38"gasUsed": "0xa04",39"output": "0x0000000000000000000000000000000000000000000000d458f36fbd3b0ff27e"40},41"subtraces": 0,42"traceAddress": [43044],45"transactionHash": "0x1c40d0b859752527f0185e611823eb5d8fc61e8adec9c6bc893ae9f04901a90c",46"transactionPosition": 0,47"type": "call"48},49{50"action": {51"from": "0x164d9b632f0eca9c47e52fe4f8467e4d9eb5149c",52"callType": "staticcall",53"gas": "0x52ecd4",54"input": "0x70a0823100000000000000000000000007acace793c28a3936645c1906cea701dd757f04",55"to": "0xe538905cf8410324e03a5a23c1c177a474d59b2b",56"value": "0x0"57},58"blockHash": "0x0006ba7e2dfed7acc0a49ff984a07397b81bfd19f7b9af12366c2fdd922ae286",59"blockNumber": 36383102,60"result": {61"gasUsed": "0xa04",62"output": "0x00000000000000000000000000000000000000000000000a78852e8dc0745e6f"63},64"subtraces": 0,65"traceAddress": [66167],68"transactionHash": "0x1c40d0b859752527f0185e611823eb5d8fc61e8adec9c6bc893ae9f04901a90c",69"transactionPosition": 0,70"type": "call"71}72]73}