2

It seems Helius depreciated getGetProgramAccounts: https://www.helius.dev/blog/solana-account-webhooks

I'd like to be able to query, for an SPL, the token addresses of all holders. Is there a manually way I can do this or some workaround if I use the helius API? I'm a bit new to solana, the only way I can think of is querying all transactions and then groupby account and netting all transactions...

Also trying to do this in python

4
  • Looks like a duplicate. Does this help you? solana.stackexchange.com/questions/8653/get-holder-count
    – Jonas H.
    Commented Feb 15 at 6:45
  • getProgramAccounts is a very expensive api for the node providers, you can try dedicated node providers or run one yourself.
    – Bharath
    Commented Feb 15 at 7:38
  • @Bharath, this is outdated since helius doesn't support getprogramaccounts anymore.
    – Yoshi
    Commented Feb 17 at 5:28
  • Does this answer your question? Get Holder count
    – Jon C
    Commented Feb 23 at 22:33

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.