Well, the token is already deployed.
Is there any other method?
Or do you know any free api to get holder count?

Jul 17, 2022, 6:35 PM
etherscan maybe
Jul 17, 2022, 6:36 PM
etherscan api would be easier, but you can make it yourself by reading events or transactions in the front
Jul 17, 2022, 6:36 PM
Thank you, is there any default free api in etherscan?
Jul 17, 2022, 6:38 PM
https://docs.etherscan.io/
i might be wrong, i dont see a "List all accounts of ERC20"
maybe its a versioning, or that specific script isnt part of that package
Jul 17, 2022, 6:49 PM
close and reopen the file
.
Jul 17, 2022, 7:00 PM
search graphQL or subgraph, those will probably give you what you need
not easy thing tho
if you want easy-mode, create a scraping script and use etherscan
Jul 17, 2022, 7:03 PM
isn't there an api endpoint to get that?
Or no wait, it was all deleted
Jul 17, 2022, 9:59 PM
Step 1: Make a scraping bot
Step 2: get blocked by cloud flare
Step 3: get blocked by cloud flare?
Jul 17, 2022, 10:10 PM
Rapidapi would work for cloudflare but slowish
Jul 17, 2022, 10:12 PM
if you don't abuse or make too much requests, it's a raw-way to solve problems
Jul 17, 2022, 10:25 PM
will RPC stop serving you if your asking for too much?
like using a metamask as a provider and asking for absurd requests
Jul 17, 2022, 10:37 PM
will http stop serving you if your asking for too much?
Jul 17, 2022, 10:45 PM
i dont think so, but one time i think it happened, figured it was an oportune time to ask, ive already googled it
hours of asking for an entire TX list, and the balance for 1200 users, over and over
Jul 17, 2022, 10:46 PM
No, it will just have unlimited resources that you're allowed to access free of charge. If need be, they'll build a new nuclear power plant to serve the energy needs as you're making requests
Jul 17, 2022, 10:46 PM
lol
Jul 17, 2022, 10:47 PM
If for the rpc you are using a third party you have to stick to its rules and their billing plans, if you are running your own node then whatever your node is able to provide you without crashing
If you had a problem you didn't have that with metamask, but with infura or whatever provider you were using
Metamask is not a provider
Jul 17, 2022, 11:22 PM
Right, defaultProvider idk who it is tbh
i dm'ed you to ask for more info
do you need to save the file? its currently showing its not saved
no more error?
ya i mean you have to learn react now
you spent 1 hour for not saving your file, you should spend 1 hour doing a tutorial now
Jul 18, 2022, 1:21 AM
I used to scrap etherscan lol, despite etherscan's official api is pretty generous it won't cover all resources.
Jul 18, 2022, 5:43 AM

© 2024 Draquery.com All rights reserved.