Stellar · Schema

asset_balance_change

BlockchainCryptocurrencyDecentralized ExchangeLedgerPaymentsSmart ContractsWeb3

Properties

Name Type Description
asset_type string
asset_code object
asset_issuer object
type string
from string
to string
amount string
View JSON Schema on GitHub

JSON Schema

stellar-horizon-asset_balance_change.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://developers.stellar.org/schemas/horizon/asset_balance_change.json",
  "title": "asset_balance_change",
  "type": "object",
  "properties": {
    "asset_type": {
      "type": "string"
    },
    "asset_code": {
      "enum": [
        "native",
        "credit_alphanum4",
        "credit_alphanum12"
      ]
    },
    "asset_issuer": {
      "$ref": "#/components/schemas/address"
    },
    "type": {
      "type": "string",
      "enum": [
        "transfer",
        "mint",
        "clawback",
        "burn"
      ]
    },
    "from": {
      "type": "string"
    },
    "to": {
      "type": "string"
    },
    "amount": {
      "type": "string"
    }
  },
  "required": [
    "asset_type",
    "type",
    "amount"
  ]
}