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, Gnosis, Arbitrum, Arbitrum Nova, and Avalanche C-chain
- objectobject
The tracer object with the following fields:
- tracerstring
The type of tracer. It could be callTracer or prestateTracer
- callTracerstring
The calltracer keeps track of all call frames, including depth 0 calls, that are made during a transaction
- prestateTracerstring
The prestateTracer replays the transaction and tracks every part of state that occured during the transaction
- tracerConfigobject
The object to specify the configurations of the tracer
- onlyTopCallboolean
When set to true, this will only trace the primary (top-level) call and not any sub-calls. It eliminates the additional processing for each call frame
Returns
- result
The result object which contains the following fields:
- result
An object containing detailed information about the traced transaction
- from
The address the transaction is sent from
- gas
The integer of the gas provided for the transaction execution
- gasUsed
The integer of the gas used
- to
The address the transaction is directed to
- input
The data given at the time of input
- calls
An array containing information about internal calls made during the transaction
- from
The address making the call
- gas
The gas limit specified for the call
- gasUsed
The amount of gas used during the call
- to
The address being called
- input
The input data for the call
- output
(Optional) The output data of the call
- value
The value (in Wei) sent with the call
- type
The type of call (e.g., CALL or STATICCALL)
- value
The integer of the value sent with this transaction
- type
The type of the call
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"txHash": "0x93f458d1eb5d7a2a744ddebe7d552d380e7d5d870b3b1d24bb5a0a84fef61a30",7"result": {8"calls": [9{10"from": "0x4200000000000000000000000000000000000015",11"gas": "0xe9a0d",12"gasUsed": "0x4a28",13"input": "0x015d8eb900000000000000000000000000000000000000000000000000000000012c55f1000000000000000000000000000000000000000000000000000000006621278300000000000000000000000000000000000000000000000000000003a2e88a4e540c883cea67f316d071836f37264c69b566c900cbb80c53602f4cfbf395476000000000000000000000000000000000000000000000000000000000000000030000000000000000000000002f40d796917ffb642bd2e2bdd2c762a5e40fd74900000000000000000000000000000000000000000000000000000000000000bc0000000000000000000000000000000000000000000000000000000000002710",14"to": "0xc0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d30015",15"type": "DELEGATECALL",16"value": "0x0"17}18],19"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",20"gas": "0xf4240",21"gasUsed": "0xb729",22"input": "0x015d8eb900000000000000000000000000000000000000000000000000000000012c55f1000000000000000000000000000000000000000000000000000000006621278300000000000000000000000000000000000000000000000000000003a2e88a4e540c883cea67f316d071836f37264c69b566c900cbb80c53602f4cfbf395476000000000000000000000000000000000000000000000000000000000000000030000000000000000000000002f40d796917ffb642bd2e2bdd2c762a5e40fd74900000000000000000000000000000000000000000000000000000000000000bc0000000000000000000000000000000000000000000000000000000000002710",23"to": "0x4200000000000000000000000000000000000015",24"type": "CALL",25"value": "0x0"26}27},28{29"txHash": "0x76684fd9d63fc707975aafed95a0229e488c520141c0f244cba582ba71ea50b2",30"result": {31"calls": [32{33"from": "0x40da35b27c3d18e7455ca4a38dc075be16a05d2b",34"gas": "0x1dd3f0",35"gasUsed": "0xc5",36"input": "0x0dfe1681",37"output": "0x00000000000000000000000078c1b0c915c4faa5fffa6cabf0219da63d7f4cb8",38"to": "0x47453cb250f705211e7a0de2f9c5d94cfecc8abd",39"type": "STATICCALL"40},41{42"from": "0x40da35b27c3d18e7455ca4a38dc075be16a05d2b",43"gas": "0x1dd111",44"gasUsed": "0x2bf",45"input": "0xd21220a7",46"output": "0x000000000000000000000000deaddeaddeaddeaddeaddeaddeaddeaddead1111",47"to": "0x47453cb250f705211e7a0de2f9c5d94cfecc8abd",48"type": "STATICCALL"49}50],51"error": "execution reverted",52"from": "0x888bbd8c810f8455d30b64bcc2ec6da604bdd888",53"gas": "0x147d35700",54"gasUsed": "0x2e05bf41",55"input": "0x0e0e000e0104020047453cb250f705211e7a0de2f9c5d94cfecc8abd78c1b0c915c4faa5fffa6cabf0219da63d7f4cb8001e67a6265480dfe4bc1573ac9289285415cb8dc2abdeaddeaddeaddeaddeaddeaddeaddeaddead1111001ed201a02c12dfd94bca5d85f93d7ab83cff9b354c48f630c0f7e341ce65db8aa43e4f4461e3f6c9d30f79fca758e4af54",56"output": "0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000018467573696f6e583a205452414e534645525f4641494c45440000000000000000",57"revertReason": "FusionX: TRANSFER_FAILED",58"to": "0x40da35b27c3d18e7455ca4a38dc075be16a05d2b",59"type": "CALL",60"value": "0x0"61}62},63{64"txHash": "0xa98a5f75caf59b595a79cc4f1e968849f8058ecf389bf1159def024f06573458",65"result": {66"calls": [67{68"from": "0x391536d06480e554cfa60f9e2be0f3bbe5a377ca",69"gas": "0x15670",70"gasUsed": "0x100c",71"input": "0xe0409c71000000000000000000000000cabae6f6ea1ecab08ad02fe02ce9a44f09aebfa200000000000000000000000000000000000c184770045483ec3b887400000000",72"to": "0x2ed161d59b5a42d502b9f11f6247c0a027e6b373",73"type": "CALL",74"value": "0x0"75},76{77"from": "0x391536d06480e554cfa60f9e2be0f3bbe5a377ca",78"gas": "0x11d2f",79"gasUsed": "0x83c",80"input": "0xe0409c71000000000000000000000000deaddeaddeaddeaddeaddeaddeaddeaddead1111000000000000000000000000000000000000963df46936e727a2ff5c70000000",81"to": "0x2ed161d59b5a42d502b9f11f6247c0a027e6b373",82"type": "CALL",83"value": "0x0"84}85],86"error": "execution reverted",87"from": "0x53e9fb844da0b40dc6b2c38f366dfe45e7f00f57",88"gas": "0x1b098c02",89"gasUsed": "0x1af5f822",90"input": "0x1389a3cc00000000000000000000000000000000002f273100116072002e7f6603be408000000000000000000000000000000000000000000000000000000000662127b400000000000000000000000000000000000000000000000000000000000108150000000000000000000000000000000000000000000000000000000000018de1",91"to": "0x391536d06480e554cfa60f9e2be0f3bbe5a377ca",92"type": "CALL",93"value": "0x0"94}95}96]97}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"txHash": "0x93f458d1eb5d7a2a744ddebe7d552d380e7d5d870b3b1d24bb5a0a84fef61a30",7"result": {8"calls": [9{10"from": "0x4200000000000000000000000000000000000015",11"gas": "0xe9a0d",12"gasUsed": "0x4a28",13"input": "0x015d8eb900000000000000000000000000000000000000000000000000000000012c55f1000000000000000000000000000000000000000000000000000000006621278300000000000000000000000000000000000000000000000000000003a2e88a4e540c883cea67f316d071836f37264c69b566c900cbb80c53602f4cfbf395476000000000000000000000000000000000000000000000000000000000000000030000000000000000000000002f40d796917ffb642bd2e2bdd2c762a5e40fd74900000000000000000000000000000000000000000000000000000000000000bc0000000000000000000000000000000000000000000000000000000000002710",14"to": "0xc0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d30015",15"type": "DELEGATECALL",16"value": "0x0"17}18],19"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",20"gas": "0xf4240",21"gasUsed": "0xb729",22"input": "0x015d8eb900000000000000000000000000000000000000000000000000000000012c55f1000000000000000000000000000000000000000000000000000000006621278300000000000000000000000000000000000000000000000000000003a2e88a4e540c883cea67f316d071836f37264c69b566c900cbb80c53602f4cfbf395476000000000000000000000000000000000000000000000000000000000000000030000000000000000000000002f40d796917ffb642bd2e2bdd2c762a5e40fd74900000000000000000000000000000000000000000000000000000000000000bc0000000000000000000000000000000000000000000000000000000000002710",23"to": "0x4200000000000000000000000000000000000015",24"type": "CALL",25"value": "0x0"26}27},28{29"txHash": "0x76684fd9d63fc707975aafed95a0229e488c520141c0f244cba582ba71ea50b2",30"result": {31"calls": [32{33"from": "0x40da35b27c3d18e7455ca4a38dc075be16a05d2b",34"gas": "0x1dd3f0",35"gasUsed": "0xc5",36"input": "0x0dfe1681",37"output": "0x00000000000000000000000078c1b0c915c4faa5fffa6cabf0219da63d7f4cb8",38"to": "0x47453cb250f705211e7a0de2f9c5d94cfecc8abd",39"type": "STATICCALL"40},41{42"from": "0x40da35b27c3d18e7455ca4a38dc075be16a05d2b",43"gas": "0x1dd111",44"gasUsed": "0x2bf",45"input": "0xd21220a7",46"output": "0x000000000000000000000000deaddeaddeaddeaddeaddeaddeaddeaddead1111",47"to": "0x47453cb250f705211e7a0de2f9c5d94cfecc8abd",48"type": "STATICCALL"49}50],51"error": "execution reverted",52"from": "0x888bbd8c810f8455d30b64bcc2ec6da604bdd888",53"gas": "0x147d35700",54"gasUsed": "0x2e05bf41",55"input": "0x0e0e000e0104020047453cb250f705211e7a0de2f9c5d94cfecc8abd78c1b0c915c4faa5fffa6cabf0219da63d7f4cb8001e67a6265480dfe4bc1573ac9289285415cb8dc2abdeaddeaddeaddeaddeaddeaddeaddeaddead1111001ed201a02c12dfd94bca5d85f93d7ab83cff9b354c48f630c0f7e341ce65db8aa43e4f4461e3f6c9d30f79fca758e4af54",56"output": "0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000018467573696f6e583a205452414e534645525f4641494c45440000000000000000",57"revertReason": "FusionX: TRANSFER_FAILED",58"to": "0x40da35b27c3d18e7455ca4a38dc075be16a05d2b",59"type": "CALL",60"value": "0x0"61}62},63{64"txHash": "0xa98a5f75caf59b595a79cc4f1e968849f8058ecf389bf1159def024f06573458",65"result": {66"calls": [67{68"from": "0x391536d06480e554cfa60f9e2be0f3bbe5a377ca",69"gas": "0x15670",70"gasUsed": "0x100c",71"input": "0xe0409c71000000000000000000000000cabae6f6ea1ecab08ad02fe02ce9a44f09aebfa200000000000000000000000000000000000c184770045483ec3b887400000000",72"to": "0x2ed161d59b5a42d502b9f11f6247c0a027e6b373",73"type": "CALL",74"value": "0x0"75},76{77"from": "0x391536d06480e554cfa60f9e2be0f3bbe5a377ca",78"gas": "0x11d2f",79"gasUsed": "0x83c",80"input": "0xe0409c71000000000000000000000000deaddeaddeaddeaddeaddeaddeaddeaddead1111000000000000000000000000000000000000963df46936e727a2ff5c70000000",81"to": "0x2ed161d59b5a42d502b9f11f6247c0a027e6b373",82"type": "CALL",83"value": "0x0"84}85],86"error": "execution reverted",87"from": "0x53e9fb844da0b40dc6b2c38f366dfe45e7f00f57",88"gas": "0x1b098c02",89"gasUsed": "0x1af5f822",90"input": "0x1389a3cc00000000000000000000000000000000002f273100116072002e7f6603be408000000000000000000000000000000000000000000000000000000000662127b400000000000000000000000000000000000000000000000000000000000108150000000000000000000000000000000000000000000000000000000000018de1",91"to": "0x391536d06480e554cfa60f9e2be0f3bbe5a377ca",92"type": "CALL",93"value": "0x0"94}95}96]97}