Stellar · Schema

Asset

BlockchainCryptocurrencyDecentralized ExchangeLedgerPaymentsSmart ContractsWeb3

Properties

Name Type Description
_embedded object
View JSON Schema on GitHub

JSON Schema

stellar-horizon-asset.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://developers.stellar.org/schemas/horizon/Asset.json",
  "title": "Asset",
  "type": "object",
  "properties": {
    "_embedded": {
      "type": "object",
      "properties": {
        "records": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "_links": {
                "type": "object",
                "properties": {
                  "toml": {
                    "$ref": "#/components/schemas/link"
                  }
                }
              },
              "asset_type": {
                "type": "string"
              },
              "asset_issuer": {
                "$ref": "#/components/schemas/address"
              },
              "paging_token": {
                "type": "string"
              },
              "accounts": {
                "type": "object",
                "properties": {
                  "authorized": {
                    "type": "integer"
                  },
                  "authorized_to_maintain_liabilities": {
                    "type": "integer"
                  },
                  "unauthorized": {
                    "type": "integer"
                  }
                }
              },
              "num_claimable_balances": {
                "type": "integer"
              },
              "num_contracts": {
                "type": "integer"
              },
              "num_liquidity_pools": {
                "type": "integer"
              },
              "balances": {
                "type": "object",
                "properties": {
                  "authorized": {
                    "type": "string"
                  },
                  "authorized_to_maintain_liabilities": {
                    "type": "string"
                  },
                  "unauthorized": {
                    "type": "string"
                  }
                }
              },
              "claimable_balances_amount": {
                "type": "string"
              },
              "contracts_amount": {
                "type": "string"
              },
              "liquidity_pools_amount": {
                "type": "string"
              },
              "flags": {
                "type": "object",
                "properties": {
                  "auth_required": {
                    "type": "boolean"
                  },
                  "auth_revocable": {
                    "type": "boolean"
                  },
                  "auth_immutable": {
                    "type": "boolean"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}