{
  "title": "InboundStxTransfer",
  "description": "A inbound STX transfer with a memo",
  "type": "object",
  "additionalProperties": false,
  "required": ["sender", "amount", "memo", "block_height", "tx_id", "transfer_type", "tx_index"],
  "properties": {
    "sender": {
      "type": "string",
      "description": "Principal that sent this transfer"
    },
    "amount": {
      "type": "string",
      "description": "Transfer amount in micro-STX as integer string"
    },
    "memo": {
      "type": "string",
      "description": "Hex encoded memo bytes associated with the transfer"
    },
    "block_height": {
      "type": "number",
      "description": "Block height at which this transfer occurred"
    },
    "tx_id": {
      "type": "string",
      "description": "The transaction ID in which this transfer occurred"
    },
    "transfer_type": {
      "type": "string",
      "enum": ["bulk-send", "stx-transfer", "stx-transfer-memo"],
      "description": "Indicates if the transfer is from a stx-transfer transaction or a contract-call transaction"
    },
    "tx_index": {
      "type": "number",
      "description": "Index of the transaction within a block"
    }
  }
}
