OBJECT

Asset

Represents single asset on Stellar network

link GraphQL Schema definition

  • type Asset {
  • id: AssetID!
  • # Asset issuer's account. It's `null` for native lumens
  • issuer: Account
  • # Asset's code
  • code: AssetCode!
  • # Sum of all asset holders balances
  • totalSupply: String!
  • # Sum of only authorized holders balances
  • circulatingSupply: String!
  • # Total number of asset holders
  • holdersCount: Int!
  • # Total number of unathorized holders
  • unauthorizedHoldersCount: Int!
  • # Ledger this asset was last time modified in
  • lastModifiedIn: Ledger!
  • # Requires the issuing account to give other accounts permission before they can
  • # hold the issuing account’s credit
  • authRequired: Boolean!
  • # Allows the issuing account to revoke its credit held by other accounts
  • authRevocable: Boolean!
  • # If this is set then none of the authorization flags can be set and the account
  • # can never be deleted
  • authImmutable: Boolean!
  • # All accounts that trust this asset, ordered by balance
  • #
  • # Arguments
  • # first:
  • # last:
  • # after:
  • # before:
  • balances(first: Int, last: Int, after: String, before: String): BalanceConnection
  • }

link Require by