> ## 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ê các CLMM limit order đang chờ xử lý của một ví

> Trả về các CLMM limit order thuộc sở hữu của `wallet` vẫn còn trên chuỗi — cả các lệnh chưa được khớp hoàn toàn lẫn đã được khớp một phần đều được trả về trong một payload duy nhất. Mỗi dòng là dữ liệu `LimitOrderState` đã được giải mã từ on-chain kèm theo pool keys và giá trị `pendingSettle` do indexer tính toán từ trạng thái tick mới nhất.

Dữ liệu được phục vụ từ Redis cache của indexer và có thể trễ so với chuỗi vài giây.




## OpenAPI

````yaml /vi/api-reference/openapi/temp-api-v1.yaml get /limit-order/order/list
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/order/list:
    get:
      tags:
        - Temporary
      summary: Liệt kê các CLMM limit order đang chờ xử lý của một ví
      description: >
        Trả về các CLMM limit order thuộc sở hữu của `wallet` vẫn còn trên chuỗi
        — cả các lệnh chưa được khớp hoàn toàn lẫn đã được khớp một phần đều
        được trả về trong một payload duy nhất. Mỗi dòng là dữ liệu
        `LimitOrderState` đã được giải mã từ on-chain kèm theo pool keys và giá
        trị `pendingSettle` do indexer tính toán từ trạng thái tick mới nhất.


        Dữ liệu được phục vụ từ Redis cache của indexer và có thể trễ so với
        chuỗi vài giây.
      operationId: listLimitOrders
      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: showErr
          in: query
          required: false
          description: >
            Khi có tham số này, response sẽ bao gồm thêm một mảng `e` chứa các
            thông báo lỗi mềm từ indexer (ví dụ: thiếu pool hoặc tick-array
            cache khiến một dòng bị bỏ qua).
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitOrderListResponse'
        '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:
    LimitOrderListResponse:
      type: object
      description: Payload cho `/limit-order/order/list`.
      properties:
        id:
          type: string
          description: ID yêu cầu (UUID)
        success:
          type: boolean
          example: true
        data:
          type: object
          properties:
            rows:
              type: array
              items:
                $ref: '#/components/schemas/LimitOrderListItem'
            e:
              type: array
              description: >
                Tùy chọn. Chỉ xuất hiện khi yêu cầu được thực hiện với
                `showErr`. Mỗi mục

                là một thông báo lỗi mềm từ indexer (ví dụ: pool bị thiếu hoặc
                mục cache tick-array

                không tồn tại khiến một hàng bị bỏ qua).
              items:
                type: string
          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
    LimitOrderListItem:
      type: object
      description: Một limit order đang chờ xử lý hiện tại.
      properties:
        pda:
          type: string
          description: Khóa công khai của tài khoản LimitOrderState
        poolId:
          type: string
        owner:
          type: string
        tick:
          type: integer
          description: Tick đã được lượng tử hóa mà lệnh này đang chờ tại đó.
        price:
          type: number
          description: >-
            Giá có thể đọc được tại `tick`, được điều chỉnh theo số thập phân
            của mint.
        zeroForOne:
          type: boolean
          description: true = bán token_0, mua token_1; false = chiều ngược lại.
        orderPhase:
          type: string
          description: u64 dạng chuỗi — giai đoạn FIFO cohort của lệnh này tại tick của nó.
        totalAmount:
          type: string
          description: u64 dạng chuỗi — tổng đầu vào đã cam kết bởi lệnh.
        filledAmount:
          type: string
          description: >-
            u64 dạng chuỗi — tổng đầu vào đã được tiêu thụ bởi các swap tính đến
            nay.
        openTime:
          type: string
          description: u64 dạng chuỗi — unix timestamp thời điểm lệnh được mở.
        pendingSettle:
          type: string
          description: >-
            u64 dạng chuỗi — số lượng đầu ra hiện đang chờ được thanh toán cho
            chủ sở hữu qua `SettleLimitOrder`.
        filledAmountUpdate:
          type: string
          description: >-
            u64 dạng chuỗi — phản chiếu của `filledAmount`, trả về để tiện cho
            phía client.
        mintA:
          type: string
        mintB:
          type: string
        mintDecimalsA:
          type: integer
        mintDecimalsB:
          type: integer
        poolCurrentPrice:
          type: number
          description: Giá pool hiện tại có thể đọc được (token_1 / token_0).
      required:
        - pda
        - poolId
        - owner
        - tick
        - price
        - zeroForOne
        - orderPhase
        - totalAmount
        - filledAmount
        - openTime
        - pendingSettle
        - filledAmountUpdate
        - mintA
        - mintB
        - mintDecimalsA
        - mintDecimalsB
        - poolCurrentPrice

````