{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-managed-blockchain/json-schema/amazon-managed-blockchain-list-filtered-transaction-events-input-schema.json",
  "title": "ListFilteredTransactionEventsInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-managed-blockchain-operations-api-openapi.yml#/components/schemas/ListFilteredTransactionEventsInput",
  "type": "object",
  "properties": {
    "network": {
      "type": "string",
      "description": "The blockchain network where the transaction occurred. Valid Values: BITCOIN_MAINNET | BITCOIN_TESTNET"
    },
    "addressIdentifierFilter": {
      "$ref": "#/$defs/AddressIdentifierFilter"
    },
    "timeFilter": {
      "$ref": "#/$defs/TimeFilter"
    },
    "voutFilter": {
      "$ref": "#/$defs/VoutFilter"
    },
    "confirmationStatusFilter": {
      "$ref": "#/$defs/ConfirmationStatusFilter"
    },
    "sort": {
      "$ref": "#/$defs/ListFilteredTransactionEventsSort"
    },
    "nextToken": {
      "type": "string",
      "description": "The pagination token that indicates the next set of results to retrieve."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of transaction events to list. Default: 100 Even if additional results can be retrieved, the request can return less results than maxResults or an empty array of results. To retrieve the next set of results, make another request with the returned nextToken value. The value of nextToken is null when there are no more results to return"
    }
  },
  "required": [
    "network",
    "addressIdentifierFilter"
  ],
  "$defs": {
    "AddressIdentifierFilter": {
      "type": "object",
      "properties": {
        "transactionEventToAddress": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The container for the recipient address of the transaction."
        }
      },
      "required": [
        "transactionEventToAddress"
      ]
    },
    "BlockchainInstant": {
      "type": "object",
      "properties": {
        "time": {
          "type": "string",
          "description": "The container of the Timestamp of the blockchain instant. This timestamp will only be recorded up to the second."
        }
      }
    },
    "ConfirmationStatusFilter": {
      "type": "object",
      "properties": {
        "include": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The container to determine whether to list results that have only reached finality . Transactions that have reached finality are always part of the response."
        }
      },
      "required": [
        "include"
      ]
    },
    "ListFilteredTransactionEventsSort": {
      "type": "object",
      "properties": {
        "sortBy": {
          "type": "string",
          "description": "Container on how the results will be sorted by?"
        },
        "sortOrder": {
          "type": "string",
          "description": "The container for the sort order for ListFilteredTransactionEvents. The SortOrder field only accepts the values ASCENDING and DESCENDING. Not providing SortOrder will default to ASCENDING."
        }
      }
    },
    "TimeFilter": {
      "type": "object",
      "properties": {
        "from": {
          "$ref": "#/$defs/BlockchainInstant"
        },
        "to": {
          "$ref": "#/$defs/BlockchainInstant"
        }
      }
    },
    "VoutFilter": {
      "type": "object",
      "properties": {
        "voutSpent": {
          "type": "boolean",
          "description": "Specifies if the transaction output is spent or unspent."
        }
      },
      "required": [
        "voutSpent"
      ]
    }
  }
}