You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose you have a transaction that emits multiple Foo events, say, 8 events.
In the event handler handleFoo, is it possible to know the index of the Foo event in the transaction, i.e., which one of those 8 events I am currently working with? For example, event number 3.
Can we use the Transaction.index or TransactionReceipt.transactionIndex for this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Suppose you have a transaction that emits multiple
Foo
events, say, 8 events.In the event handler
handleFoo
, is it possible to know the index of theFoo
event in the transaction, i.e., which one of those 8 events I am currently working with? For example, event number 3.Can we use the
Transaction.index
orTransactionReceipt.transactionIndex
for this?#2035
Beta Was this translation helpful? Give feedback.
All reactions