{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-managed-blockchain/json-schema/amazon-managed-blockchain-list-transactions-input-schema.json",
  "title": "ListTransactionsInput",
  "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/ListTransactionsInput",
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "The address (either a contract or wallet), whose transactions are being requested."
    },
    "network": {
      "type": "string",
      "description": "The blockchain network where the transactions occurred."
    },
    "fromBlockchainInstant": {
      "$ref": "#/$defs/BlockchainInstant"
    },
    "toBlockchainInstant": {
      "$ref": "#/$defs/BlockchainInstant"
    },
    "sort": {
      "$ref": "#/$defs/ListTransactionsSort"
    },
    "nextToken": {
      "type": "string",
      "description": "The pagination token that indicates the next set of results to retrieve."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of transactions 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"
    },
    "confirmationStatusFilter": {
      "$ref": "#/$defs/ConfirmationStatusFilter"
    }
  },
  "required": [
    "address",
    "network"
  ],
  "$defs": {
    "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"
      ]
    },
    "ListTransactionsSort": {
      "type": "object",
      "properties": {
        "sortBy": {
          "type": "string",
          "description": "Defaults to the value TRANSACTION_TIMESTAMP."
        },
        "sortOrder": {
          "type": "string",
          "description": "The container for the sort order for ListTransactions. The SortOrder field only accepts the values ASCENDING and DESCENDING. Not providing SortOrder will default to ASCENDING."
        }
      }
    }
  }
}