{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paradex/json-schema/paradex-responses-transaction-response-schema.json",
  "title": "responses.TransactionResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paradex-account-api-openapi.yml#/components/schemas/responses.TransactionResponse",
  "type": "object",
  "properties": {
    "completed_at": {
      "description": "Timestamp from when the transaction was completed",
      "type": "integer"
    },
    "created_at": {
      "description": "Timestamp from when the transaction was sent to blockchain gateway",
      "type": "integer"
    },
    "hash": {
      "description": "Tx Hash of the settled trade                                                // Hash of the transaction",
      "type": "string"
    },
    "id": {
      "description": "Unique string ID of the event that triggered the transaction. For example, fill ID or liquidation ID",
      "type": "string"
    },
    "state": {
      "description": "Status of the transaction on Starknet",
      "type": "string",
      "enum": [
        "ACCEPTED_ON_L1",
        "ACCEPTED_ON_L2",
        "NOT_RECEIVED",
        "RECEIVED",
        "REJECTED",
        "REVERTED"
      ]
    },
    "type": {
      "description": "Event that triggered the transaction",
      "type": "string",
      "enum": [
        "TRANSACTION_FILL",
        "TRANSACTION_LIQUIDATE",
        "TRANSACTION_SETTLE_MARKET"
      ]
    }
  }
}