post https://eth-mainnet.unifra.io/v1/
Traces a call to eth_sendRawTransaction without making the call, returning the traces.
Parameters
- Hash - Transaction hash.
- Array - Type of trace, one or more of: "vmTrace", "trace", "stateDiff".
Returns
- Object - Block traces.
Example
Request
curl --location --request POST 'https://eth-mainnet.unifra.io/v1/{your-api-key} \
--header 'Content-Type: application/json' \
--data-raw '{"method":"trace_replayTransaction","params":["0xf129cd5e21bcbe37fa892418807a7e6b6f4518306e04e81b2b19829e32ca17a1",["trace"]],"id":1,"jsonrpc":"2.0"}'
Result
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"output": "0x",
"stateDiff": null,
"trace": [
{
"action": {
"from": "0x9a66644084108a1bc23a9ccd50d6d63e53098db6",
"callType": "call",
"gas": "0x4637f",
"input": "0xcdd1b25d0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000005a00000000000000000000000000000000000000000000000000000000000000840000000000000000000000000000000000000000000000000000000000000006f0a14b1c2a97f0daa7adcd5eee963aa020afd10caa7f51214b1c2a97f0daa7adcd5eee963aa020afd10caa7f51a14a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4822050139b91aca283830013a2065a6919c471c78b3bb89a65281b1f97c90a3d6b96db9b1a3eebc4159249601000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000003e0000000000000000000000000000000000000000000000000000000000000004182daaccec177dae862edf2a7310555dc7bbc0b3742e715e495abbaf905f85dff1792dbaced418144ea79b58a553c3c430faa913944498dbc889d11082f8739361b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041d19aefeb756d52d13a330190a30ae82c6678c378e8857cc768484420b918434511868db9943c580aa3008f894b4a410dd0b21ae6aeeb90d97d503ae1a61a85671b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041fef7236c9f2cf1e210114a9b96532692712184f56c3bce5eb41a759b08f67cc3160a0fae8d08d27ed972b7ff711441232f47362772277da0b7ed4f2cf5b3d4021b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004198cb2a0f5d7ae487e014bf77577a0802159b3058463c451c81b828d28ed8c751605659657d4281aef676a5ceb7e85ad516d083f66dd0a066a2cca0b8512b835f1b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041613908b11b72601ab8ed07851e84fd383bc3da1d75a2dec602c570262fbc46963a37a531ded17bdd0ffe6766c7943ee40a4af281601687fb4d7646d93226fdd01b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041c811ee1cb93c04acf49b9a367ef0c21cf29727cc4519c677ba8feb798f1edecc3d103944fdfec63df1c08cfdac3f7c925cf1a1bc4e473f672617e1daefa749141b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041c1124376266a7fd51af0b7a5603e7a3bfd233b97ab4a023c4c8e1c6ae802d1bb6d2513e9ea0f16c0e5d57932b64371aa6e733f5a431957b99edf0069bfc65fdb1c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000241a100333eefa2efc389ec836a6ff619fc1c644000000000000000000000000273035e10f106499eface385dba07135e7cc8e5400000000000000000000000055f4a1bfc655cf55ed325f2338a1dee84f754df2000000000000000000000000870cf8dd5d9c8eb1403dfd6e6a4753f4d617a53800000000000000000000000095016e36adb4e0151735ced3992a7fa54e16bd08000000000000000000000000954adc74481634b4d278c459853b4e6cc17ae8d200000000000000000000000098e9d288743839e96a8005a6b51c770bbf7788c00000000000000000000000009a66644084108a1bc23a9ccd50d6d63e53098db60000000000000000000000009a8cfacf513fb3d5e39f5952c8608e985b3dc6ef0000000000000000000000009ac5279013edfec74c5c2976fc831ad0527402e00000000000000000000000009cd5006e1bff785dad5869efd81a2c42545c9d9b000000000000000000000000a73b339c3fae27bedf7cb72d9d000b08fc899609000000000000000000000000bfa2f68bf9ad60dc3cfb1cef04730eb7fa251424000000000000000000000000c74acab8c0a340f585d008cb521d64d2554171a8000000000000000000000000cf12dd34d7597d06ff98f85d2b9483d9d5f7d952000000000000000000000000d10c833f4305e1053a64bc738c550381f48104ca000000000000000000000000f3d912e7fb180acdea31a52797d55ee2988ab907000000000000000000000000f4151eebfa1b9c87dd92c8243a18b1baef8c1813000000000000000000000000f5ad7f3782e8a67bffa297684e27cf9fcc781be1000000000000000000000000f6e93eb288658de5e2e982f99d2b378b22959d15000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000030c7790de925ae025d0000000000000000000000000000000000000000000001147d9c5cc9e61f3071800000000000000000000000000000000000000000000024a3d606fe552487bf000000000000000000000000000000000000000000000039f0bd5297c9f6058600000000000000000000000000000000000000000000001bbd4bf0a1b33e712c00000000000000000000000000000000000000000000002bdb7a57356a16a8e10000000000000000000000000000000000000000000000b271eb5e3f1926449c00000000000000000000000000000000000000000000012169da017510a4fab9a00000000000000000000000000000000000000000000027e70ca303b81d6c925000000000000000000000000000000000000000000000288e2c9e98cbc4b577000000000000000000000000000000000000000000000116a5e013f07e3e4467000000000000000000000000000000000000000000000067abe6d0953c35a28b0000000000000000000000000000000000000000000000d44fb84f8039ddb6d000000000000000000000000000000000000000000000003e7276e46a465d1b8900000000000000000000000000000000000000000000003ca91462b528949ec400000000000000000000000000000000000000000000007c53a6bfcb2f01bb2b00000000000000000000000000000000000000000000000a04ba52ed0209550e60000000000000000000000000000000000000000000002a4e02a84be0cd843b000000000000000000000000000000000000000000000031f78dad6d326abbfd00000000000000000000000000000000000000000000003edf017d0f2b4c69500000",
"to": "0x5427fefa711eff984124bfbb1ab6fbf5e3da1820",
"value": "0x0"
},
"result": {
"gasUsed": "0x27a4b",
"output": "0x"
},
"subtraces": 1,
"traceAddress": [],
"type": "call"
},
{
"action": {
"from": "0x5427fefa711eff984124bfbb1ab6fbf5e3da1820",
"callType": "call",
"gas": "0x297d9",
"input": "0xa9059cbb000000000000000000000000b1c2a97f0daa7adcd5eee963aa020afd10caa7f50000000000000000000000000000000000000000000000000000000139b91aca",
"to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"value": "0x0"
},
"result": {
"gasUsed": "0xabf1",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001"
},
"subtraces": 1,
"traceAddress": [
0
],
"type": "call"
},
{
"action": {
"from": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"callType": "delegatecall",
"gas": "0x2719e",
"input": "0xa9059cbb000000000000000000000000b1c2a97f0daa7adcd5eee963aa020afd10caa7f50000000000000000000000000000000000000000000000000000000139b91aca",
"to": "0xa2327a938febf5fec13bacfb16ae10ecbc4cbdcf",
"value": "0x0"
},
"result": {
"gasUsed": "0x8f78",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001"
},
"subtraces": 0,
"traceAddress": [
0,
0
],
"type": "call"
}
],
"vmTrace": null
}
}
The below parameter inputs do not work, please reference the section above instead.