Hi, I hope its not out of topic.
I need the list of all owners from specific NFT collections, is there a way to export them somehow? Example: all wallets that ever bought or had any of Cryptopunk NFTs
Jul 1, 2022, 6:46 PM
Technically yes.
Jul 1, 2022, 6:48 PM
Is there a tutorial or guide how to get all addresses that ever owned an item from a specific collection?
Sorry if I'm just repeating, I meant to ask if you know where can I learn more about this. Currently getting all addresses manually from etherscan and it takes years to process all
Jul 1, 2022, 6:50 PM
Learn to use etherscan api wisely, then you'll be able to do whatever you want
Manually? Etherscan has api, you can request 10000 txs per call
Jul 1, 2022, 6:51 PM
I never checjed how APIs work, but I'll get into it. Thanks buddy
Jul 1, 2022, 6:53 PM
You're welcome :) there are also user friendly solutions like https://github.com/EtWnn/ScanWatch if you work wih python but you'll get bloated by their sqlite database that stores all the transactions you're retrieving
Jul 1, 2022, 6:56 PM
but it uses bscscan api
if bscscan server is down ==> api will be down
Jul 1, 2022, 7:00 PM
How would you bypass bsc/eth/polyscan otherwise? 😅
Jul 1, 2022, 7:02 PM
Simply query the chain with a script
choose an endpoint and check for what you need
no UI maybe but at least it works
Jul 1, 2022, 7:02 PM
By querying the chain you have to do more work though, for instance if I'm looking for a BAYC txs I need to loop through all the blocks and the txs in each block to find them
Lots of computational complexity. Those api are centralized but they already do all the hard work 😅
Jul 1, 2022, 7:07 PM
then wait for etherscan
depends what you need
if you have the tx like our friend case before
It is so easy to check the status
Jul 1, 2022, 7:11 PM
If you have the txs yeah, you're right, I was talking about finding the txs
Jul 1, 2022, 7:13 PM
what do you think bscscan does?
Jul 1, 2022, 7:14 PM
In fact you can use bscscan api to find the txs, that was what I was saying
Maybe you're saying to just use both
Jul 1, 2022, 7:16 PM
nono I mean that if bscscan doesn't work
maybe neither their api do
maybe neither their api do
Jul 1, 2022, 7:18 PM
Aaaaaah well yeah, but... it is down right now? Lol I just checked
Jul 1, 2022, 7:21 PM
Check if this helps
https://docs.alchemy.com/alchemy/enhanced-apis/transfers-api/how-to-get-a-contracts-last-transfer-event
https://docs.alchemy.com/alchemy/enhanced-apis/transfers-api/how-to-get-a-contracts-last-transfer-event
Jul 1, 2022, 7:26 PM
Wow I'll have a deep look at it, thank you :D
Jul 1, 2022, 8:34 PM