tarsil / polygonscan-python

The Polygon Scan APIs for python based from the fork of bscscan-python
MIT License
24 stars 8 forks source link

How do we monitor sold events? #4

Closed jack5parr0w closed 1 year ago

jack5parr0w commented 2 years ago

I'm trying to create a Twitter bot to tweet when there is a sale happened for a particular contract. I checked the API https://mumbai.polygonscan.com/apis#accounts but it has very minimal info. https://twitter.com/PenguinNFTSales this is a sample bot I'm trying to replicate how can I do that?

tarsil commented 2 years ago

Apologies for taking so long to reply but I have never received a notification from GitHub saying this was here.

So what you need is a "live event watcher". I not 100% sure that the API can actually do it but have a look at moralis as I believe they have what you want too.