Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions
henry
@henry
Does anyone know how to retrieve a history of transactions on a smart contract using wagmi/viem ? Think etherscan May be I'm being dumb here but...I can't find a way to do this
2 replies
1 recast
14 reactions
phil
@phil
you need to find a service that can store and serve blockchain history. the contract itself only stores state. dune / the graph probably your best best here.
1 reply
0 recast
4 reactions
henry
@henry
Hum, okay, thanks What about reading previous events? I can dissect some interesting data there but can't see any way to read function calls
5 replies
0 recast
0 reaction
Monteluna
@monteluna
Sir use Ape or Envio. Ape has an event query. Envio is a little bit more for storage and kind of better for larger projects. If you DM I can send over links to ipynb with it kind of already setup. https://www.apeworx.io/framework/
1 reply
0 recast
1 reaction
Monteluna
@monteluna
Ape docs on how to do this: https://docs.apeworx.io/ape/stable/userguides/data.html
0 reply
0 recast
1 reaction