current position:Home>Analysis of eth transaction record input

Analysis of eth transaction record input

2022-02-03 20:56:27 Q & A of Denglian community

image.png How to parse input The parameters of ?

Take the answer 1:

First of all, I'm not sure what you need to analyze ? Because reverse parsing is very unstable , Similar to the confused JS Code , Flexible after reverse recovery . One byte32 The data of , Can represent an address , It could be one byte256 The data of .

Unless you know the contract you're investigating ABI Interface .

I guess you need to parse Token Transfer transactions . If it needs to be parsed Token The transfer , It should be done by reading the event log .

Only successful transfer , Will generate the event log . If it's just to analyze the transaction Input Is incomplete . Such as :

  1. The deal failed .
  2. To yes A contract , but A Internal automatic transfer to TokenB.

How to use event log parsing Token What about the transfer records I'll give you some information :


Other answers 1:

Other answers 2:

Other answers 3:

copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.

Random recommended