3

The goal is to find all trustees to an asset issuing account for said asset.

Example:

  • Account 1 issues paperToken
  • Account 2, 3, and 4 establish trustlines to the issuer of the paperToken asset

How can the JavaScript SDK be used to list all the accounts with an active trustlines to Account1?

Looking at the link to StellarExpert it clearly shows all trustlines to the MOBI account that have been established.

This is exactly what I would like to do.

1 Answer 1

3

You'll need to run your own Stellar Core node, or query the third-party node using GraphQL interface.

Information about all trustlines is located in the trustlines table of Core database.

3
  • I do not think you do need to run a stellar node or a third party node to get information of trustlines that have been established to an issuing account. The horizon api should be able to give you this info through pagination somehow, correct?
    – Codetiger
    Mar 25, 2018 at 17:47
  • There is no such API endpoint. You can request this feature here and wait until someone implements it, or write the implementation by yourself if you are familiar with GoLang.
    – Orbit Lens
    Mar 25, 2018 at 20:35
  • Yes, it should be possible to get a hold of through the account endpoint, and some implementation without running a core node
    – Codetiger
    Mar 27, 2018 at 16:17

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.