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
Is there any way using Wagmi to easily grab all previous contract transactions filtered by a from/to address and setting a block range or all blocks?
The goal I have is to:
Grab all transactions between the contract + accountData?.address where the event was 'Transfer'
Calculate historical balance, adding/removing buys and sells using all the results from #1
Using this final output number from Guestbook #2 as a new balance that I will input to a contractRead function
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
-
Is there any way using Wagmi to easily grab all previous contract transactions filtered by a from/to address and setting a block range or all blocks?
The goal I have is to:
Beta Was this translation helpful? Give feedback.
All reactions