> ## Documentation Index
> Fetch the complete documentation index at: https://docs.raydium.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Liệt kê lịch sử các CLMM limit order của một ví

> Trả về các CLMM limit order đã đóng thuộc sở hữu của `wallet`. Mỗi dòng tóm tắt trạng thái lệnh tại thời điểm nó rời khỏi tập hợp active. Phân trang theo cursor thông qua `nextPageId`.




## OpenAPI

````yaml /vi/api-reference/openapi/temp-api-v1.yaml get /limit-order/history/order/list-by-user
openapi: 3.0.3
info:
  title: Temp API
  description: >
    Nơi tạm chứa các endpoint ngắn hạn chưa có vị trí cố định trong Raydium API
    chính.

    Các endpoint trong dịch vụ này có thể thay đổi, bị deprecated hoặc di chuyển
    mà không báo trước.


    **Cảnh báo về độ ổn định:** Dịch vụ này ưu tiên phát triển nhanh và không
    đảm bảo tính ổn định của API.

    Chỉ sử dụng cho các luồng không quan trọng, công cụ nội bộ hoặc các tính
    năng đang trong quá trình phát triển.
  version: 1.0.0
  contact:
    name: Raydium
    url: https://raydium.io
servers:
  - url: https://temp-api-v1.raydium.io
    description: Mainnet
  - url: https://temp-api-v1-devnet.raydium.io
    description: Devnet
security: []
tags:
  - name: Temporary
    description: Endpoint tạm thời (không ổn định)
paths:
  /limit-order/history/order/list-by-user:
    get:
      tags:
        - Temporary
      summary: Liệt kê lịch sử các CLMM limit order của một ví
      description: >
        Trả về các CLMM limit order đã đóng thuộc sở hữu của `wallet`. Mỗi dòng
        tóm tắt trạng thái lệnh tại thời điểm nó rời khỏi tập hợp active. Phân
        trang theo cursor thông qua `nextPageId`.
      operationId: listLimitOrderHistoryByUser
      parameters:
        - name: wallet
          in: query
          required: true
          description: Khóa công khai của ví (base58)
          schema:
            type: string
            example: <your-wallet-pubkey>
        - name: hideCancel
          in: query
          required: false
          description: >
            Khi đặt thành `true`, loại trừ các lệnh đã đóng mà chưa được khớp
            lần nào (tức là đã hủy). Mặc định là `false`.
          schema:
            type: string
        - name: poolId
          in: query
          required: false
          description: >-
            Lọc theo một CLMM pool cụ thể (tùy chọn). Không dùng đồng thời với
            `mint1` / `mint2`.
          schema:
            type: string
        - name: mint1
          in: query
          required: false
          description: >-
            Lọc theo mint (token A hoặc B) (tùy chọn). Không dùng đồng thời với
            `poolId`.
          schema:
            type: string
        - name: mint2
          in: query
          required: false
          description: Lọc theo mint thứ hai (tùy chọn). Không dùng đồng thời với `poolId`.
          schema:
            type: string
        - name: nextPageId
          in: query
          required: false
          description: >-
            Con trỏ phân trang không rõ ràng được trả về từ trang trước (TTL
            ~1h).
          schema:
            type: string
        - name: size
          in: query
          required: false
          description: Kích thước trang (1–100, mặc định 20).
          schema:
            type: integer
            default: 20
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitOrderHistoryByUserResponse'
        '400':
          description: Yêu cầu không hợp lệ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Lỗi máy chủ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    LimitOrderHistoryByUserResponse:
      type: object
      description: Dữ liệu phản hồi cho `/limit-order/history/order/list-by-user`.
      properties:
        id:
          type: string
        success:
          type: boolean
          example: true
        data:
          type: object
          properties:
            rows:
              type: array
              items:
                $ref: '#/components/schemas/LimitOrderHistoryItem'
            nextPageId:
              type: string
              nullable: true
              description: >-
                Con trỏ mờ cho trang tiếp theo; vắng mặt khi đây là trang cuối
                cùng.
          required:
            - rows
      required:
        - success
        - data
    ErrorResponse:
      type: object
      properties:
        id:
          type: string
        success:
          type: boolean
          example: false
        msg:
          type: string
          description: Thông báo lỗi
      required:
        - success
        - msg
    LimitOrderHistoryItem:
      type: object
      description: Một limit order đã đóng, được tóm tắt.
      properties:
        pda:
          type: string
        owner:
          type: string
        poolId:
          type: string
        mintA:
          type: string
        mintB:
          type: string
        zeroForOne:
          type: boolean
        tick:
          type: integer
        price:
          type: number
        openBlockTime:
          type: integer
          description: Unix timestamp thời điểm lệnh được mở.
        fillStatus:
          type: string
          enum:
            - NONE
            - PARTIAL
            - FULL
          description: |
            Mức độ khớp lệnh trước khi đóng:
            `NONE` (đã hủy với khớp lệnh bằng 0), `PARTIAL`, hoặc `FULL`.
        orderInputAmountUi:
          type: number
          description: >-
            Số lượng đầu vào ban đầu, theo đơn vị người dùng (đã áp dụng số thập
            phân).
        orderOutputAmountUi:
          type: number
          description: >-
            Số lượng đầu ra mà lệnh sẽ trả tại tick của nó, theo đơn vị người
            dùng.
        filledInputAmountUi:
          type: number
        filledOutputAmountUi:
          type: number
      required:
        - pda
        - owner
        - poolId
        - mintA
        - mintB
        - zeroForOne
        - tick
        - price
        - openBlockTime
        - fillStatus
        - orderInputAmountUi
        - orderOutputAmountUi
        - filledInputAmountUi
        - filledOutputAmountUi

````