I want to list all of my asset holder, what I'm doing now is streaming payment and save account that transaction using my asset.
Is there any other efficient way to do this?
Stellar Stack Exchange is a question and answer site for developers and users of Stellar and the Stellar Distributed Exchange. It only takes a minute to sign up.
Sign up to join this communityI want to list all of my asset holder, what I'm doing now is streaming payment and save account that transaction using my asset.
Is there any other efficient way to do this?
There are few options, depends on how are you going to use this information.
If you just want to explore your asset holders, use StellarExpert for this purpose. Open all assets dashboard, find your asset, navigate to it, and click the "Asset holders" tab. For example, check how this interface looks like for MOBI token.
In case if you need to query your holders list frequently, you'll need to setup Stellar Core server. Once you get it up and running, you will be able to query this information directly from the database with any advanced filtering criteria suited for your case.