1

How can I get the total number of trustlines to a certain asset (Issuing account - asset)? How can I get the total number of payments made in a special asset(Issuing account - asset)?

The number of trustlines can be retrieved from api.stellar.expert, however is there another way to get this information?

1 Answer 1

0

Trustlines are part of the details provided by Horizon's asset endpoint.

num_accounts number The number of accounts that: 1) trust this asset and 2) where if the asset has the auth_required flag then the account is authorized to hold the asset.

The number of payments made with a given asset is a derived statistic that you'd need to calculate yourself.

1
  • Thank you very much for your support, ire_and_curses. Yep, with link I can get the number of trustlines.I am trying to find a way to get all payments in this asset.
    – Homer
    Apr 23, 2020 at 12:47

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.