2

I want to match code of assets and issuer in ticker data. How can I find the issuer in ticker markets data?

2 Answers 2

1

As the blog post mentions, the list of assets is accessible at https://ticker.stellar.org/assets.json. Assets have code and issuer fields. For example:

    "assets": [
        {
            "code": "CSM",
            "issuer": "GCGBSZ3DSSH6PRHCOD4JXFNNZXCTKBDFRT4JR2HIAC6FQZU4YK7GPHEX",
            "type": "credit_alphanum4",
            "num_accounts": 17,
            "auth_required": false,
            "auth_revocable": false,
            "amount": 999999.9999994,
            "asset_controlled_by_domain": true,
            "anchor_asset": "",
            "anchor_asset_type": "",
            "display_decimals": 7,
            "name": "City States Medieval",
            "desc": "City States Medieval share",
            "conditions": "Share representing ownership in the game City States: Medieval",
            "is_asset_anchored": false,
            "fixed_number": 0,
            "max_number": 0,
            "is_unlimited": false,
            "redemption_instructions": "",
            "collateral_addresses": [],
            "collateral_address_signatures": [],
            "countries": "",
            "status": "live",
            "issuer_detail": {
                "public_key": "GCGBSZ3DSSH6PRHCOD4JXFNNZXCTKBDFRT4JR2HIAC6FQZU4YK7GPHEX",
                "name": "",
                "url": "",
                "toml_url": "https://stratemacy.com/.well-known/stellar.toml",
                "federation_server": "",
                "auth_server": "",
                "transfer_server": "",
                "web_auth_endpoint": "",
                "deposit_server": "",
                "org_twitter": ""
            },
            "last_valid": "2019-10-08T12:00:15Z"
        },
1
  • 1
    Thank you for comment. Yes I can get issuer in assets.json, but I can not find issuer in markets.json data. How can I know who is issueing the asset in markets.json?
    – kmpartner
    Mar 13, 2020 at 1:44
0

Assuming the output I correct issuer detail - public key is all the information you need (as well as the asset name.)

1
  • 1
    Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Oct 25, 2021 at 8:37

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.