Object

When Horizon returns information about an asset, it uses the following format:

- ATTRIBUTE -

  • asset_type string

    This asset’s type. Either credit_alphanum4 or credit_alphanum12.

  • asset_code string

    This asset’s code

  • asset_issuerstring

    The Stellar address of this asset’s issuer.

  • amount number

    The number of units issued for this asset.

  • num_accounts number

    The numnber of accounts that have issued a trustline to this asset. If the auth_required flag for this asset’s issuer is set to true, this number only includes the accounts who have both set up a trustline to the asset and have been authorized to hold the asset.

  • flags object

    Flags denote the enabling/disabling of certain asset issuer privileges. Show child attributes

    • auth_immutable boolean

      If set to true, none of the following flags can be changed.

    • auth_required boolean

      If set to true, anyone who wants to hold an asset issued by this account must first be approved by this account.

    • auth_revocable boolean

      If set to true, this account can freeze the balance of a holder of an asset issued by this account.

  • paging_token number

    A cursor value for use in pagination.

Last updated

Was this helpful?