0

Assume I have a [Custom Asset] that either or both of it's [Issuer/Distributor] Account(s) [Authorization required] Flag set to True. How can I fetch a list of [Pending Trustlines] for my [Asset] in each corresponding Account in order to verify at any desired time? BTW, I noticed an answer mentioned "trustlines filtering" "https://stellar.stackexchange.com/questions/2844/viewing-trustlines-for-authorization-required-assets-from-an-asset-issuer-perspe" but didn't resolve my issue! Stay Safe V

1

You should be able to use the Horizon /accounts endpoint to return all the accounts with trustlines to an asset: https://www.stellar.org/developers/horizon/reference/endpoints/accounts.html

You can then iterate over that list to find accounts that haven't yet been authorized. (see https://github.com/stellar/go/issues/1938)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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