Convert long zeroes log.data to shorter log.data #3941
-
How I transform
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can use the For example, if the data is an address and a uint256. You can use |
Beta Was this translation helpful? Give feedback.
You can use the
abiCoder.decode(types, data)
.For example, if the data is an address and a uint256. You can use
abiCoder.decode([ "addresss", "uint" ], data)
. You must know the types you are trying to decode though.