I am trying to get the metadata (such as organization name, logo) of asset issuers in the Stellar network.
What API should I use that could possibly contain this information when I pass the Public Key, I can't find such API in stellar labaratory?
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 community
where issuer is the issuer's public key and metadata are the
data entry in the ouput.
const server = new StellarSdk.Server("https://horizon.stellar.org/"); const account = await server.loadAccount(issuerPublicKey); console.log(JSON.stringify(account.data_attr));