{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coinmate/json-schema/coinmate-transaction-history-request-schema.json",
  "title": "TransactionHistoryRequest",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coinmate-trading.yaml#/components/schemas/TransactionHistoryRequest",
  "type": "object",
  "properties": {
    "archived": {
      "type": "boolean",
      "default": false,
      "description": "Include archived transactions"
    },
    "clientId": {
      "type": "integer",
      "format": "int64",
      "description": "Client ID (account number)"
    },
    "limit": {
      "type": "integer",
      "format": "int32",
      "description": "Maximum number of items to return; the server caps the value by a configurable limit"
    },
    "nonce": {
      "type": "integer",
      "format": "int64",
      "description": "Unique incrementing nonce"
    },
    "offset": {
      "type": "integer",
      "format": "int32",
      "default": 0,
      "description": "Result offset"
    },
    "orderId": {
      "type": "integer",
      "format": "int64",
      "description": "Filter by order ID"
    },
    "publicKey": {
      "type": "string",
      "description": "API public key"
    },
    "signature": {
      "type": "string",
      "description": "HMAC-SHA256 signature"
    },
    "sort": {
      "type": "string",
      "default": "DESC",
      "description": "Sort direction",
      "enum": [
        "ASC",
        "DESC"
      ]
    },
    "timestampFrom": {
      "type": "integer",
      "format": "int64",
      "description": "Unix ms, inclusive"
    },
    "timestampTo": {
      "type": "integer",
      "format": "int64",
      "description": "Unix ms, inclusive"
    }
  },
  "required": [
    "clientId",
    "nonce",
    "signature"
  ]
}