-
Hi, fellow community, Contract.interface.parseLogs(...) function does return array of events out of transaction.logs[]. Is an index of the event in the returned array always the same as logIndex in the respective event log in the transaction? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @metsawyr, can you confirm if you're referring to Also, the |
Beta Was this translation helpful? Give feedback.
Hey @metsawyr, can you confirm if you're referring to
Contract.interface.parseLogs
? because there is aContract.interface.parseLog
but notparseLogs
(thes
is not there) and that returnes a single parsedLog with typeLogDescription
(source).Also, the
logIndex
is not the index of the respective event in the transaction, but in the block.