{
  "title": "StxBalance",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "balance",
    "total_sent",
    "total_received",
    "total_fees_sent",
    "total_miner_rewards_received",
    "lock_tx_id",
    "locked",
    "lock_height",
    "burnchain_lock_height",
    "burnchain_unlock_height"
  ],
  "properties": {
    "balance": {
      "type": "string"
    },
    "total_sent": {
      "type": "string"
    },
    "total_received": {
      "type": "string"
    },
    "total_fees_sent": {
      "type": "string"
    },
    "total_miner_rewards_received": {
      "type": "string"
    },
    "lock_tx_id": {
      "type": "string",
      "description": "The transaction where the lock event occurred. Empty if no tokens are locked."
    },
    "locked": {
      "type": "string",
      "description": "The amount of locked STX, as string quoted micro-STX. Zero if no tokens are locked."
    },
    "lock_height": {
      "type": "integer",
      "description": "The STX chain block height of when the lock event occurred. Zero if no tokens are locked."
    },
    "burnchain_lock_height": {
      "type": "integer",
      "description": "The burnchain block height of when the lock event occurred. Zero if no tokens are locked."
    },
    "burnchain_unlock_height": {
      "type": "integer",
      "description": "The burnchain block height of when the tokens unlock. Zero if no tokens are locked."
    }
  }
}
