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

# getLatestCompressionSignatures

> Trả về chữ ký của các giao dịch mới nhất đã sử dụng chương trình nén.

## Tham số yêu cầu

<ParamField body="cursor" type="string">
  Con trỏ phân trang để duyệt qua các tập hợp lớn gồm chữ ký giao dịch nén Solana
</ParamField>

<ParamField body="limit" type="number">
  Số lượng chữ ký giao dịch nén Solana tối đa được trả về cho mỗi yêu cầu
</ParamField>


## OpenAPI

````yaml vi/openapi/zk-compression/getLatestCompressionSignatures.yaml POST /
openapi: 3.0.3
info:
  title: API giám sát giao dịch tài sản nén trên Solana
  description: >
    Trình lập chỉ mục Solana nâng cao để giám sát các giao dịch NFT nén và token
    gần đây.

    API chuyên biệt này cho phép nhà phát triển theo dõi và phân tích hoạt động
    nén mới nhất

    trên blockchain Solana, cung cấp khả năng quan sát theo thời gian thực đối
    với các hoạt động tài sản nén, 

    hoạt động đúc, chuyển giao và các giao dịch khác liên quan đến nén, đồng
    thời hỗ trợ phân trang hiệu quả.
  license:
    name: Apache-2.0
  version: 0.50.0
servers:
  - url: https://mainnet.helius-rpc.com
    description: Điểm cuối RPC Mainnet
  - url: https://devnet.helius-rpc.com
    description: Điểm cuối RPC Devnet
security: []
paths:
  /:
    summary: getLatestCompressionSignatures
    post:
      description: >
        Truy xuất các chữ ký giao dịch gần đây nhất cho những hoạt động nén trên
        Solana.

        Điểm cuối giám sát này trả về danh sách có phân trang gồm các chữ ký
        giao dịch mới nhất

        liên quan đến NFT nén và token trên blockchain Solana, bao gồm dấu thời
        gian

        và thông tin slot. Đây là chức năng thiết yếu để theo dõi hoạt động của
        tài sản nén, phân tích thị trường,

        đồng bộ hóa lịch sử ví và kiểm tra các giao dịch liên quan đến nén trên
        toàn bộ

        hệ sinh thái Solana. Hỗ trợ phân trang hiệu quả để liên tục giám sát
        hoạt động nén.
      operationId: getLatestCompressionSignatures
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
                - params
              properties:
                jsonrpc:
                  type: string
                  description: Phiên bản của giao thức JSON-RPC.
                  enum:
                    - '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: ID dùng để xác định yêu cầu.
                  default: '1'
                method:
                  type: string
                  description: >-
                    Tên phương thức cần gọi để truy xuất các chữ ký giao dịch
                    nén gần đây trên Solana.
                  enum:
                    - getLatestCompressionSignatures
                  default: getLatestCompressionSignatures
                params:
                  type: object
                  default: {}
                  properties:
                    cursor:
                      type: string
                      nullable: true
                      description: >-
                        Con trỏ phân trang để duyệt qua các tập hợp lớn gồm chữ
                        ký giao dịch nén trên Solana
                    limit:
                      allOf:
                        - $ref: '#/components/schemas/Limit'
                      nullable: true
                      description: >-
                        Số lượng chữ ký giao dịch nén tối đa trên Solana được
                        trả về trong mỗi yêu cầu
                  additionalProperties: false
        required: true
      responses:
        '200':
          description: >-
            Đã truy xuất thành công các chữ ký giao dịch nén mới nhất trên
            Solana
          content:
            application/json:
              schema:
                type: object
                required:
                  - context
                  - value
                properties:
                  context:
                    $ref: '#/components/schemas/Context'
                  value:
                    $ref: '#/components/schemas/PaginatedSignatureInfoList'
                additionalProperties: false
        '400':
          description: >-
            Yêu cầu không hợp lệ - Tham số yêu cầu không hợp lệ hoặc yêu cầu có
            định dạng sai.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: Invalid params
                id: '1'
        '401':
          description: Chưa được xác thực - Khóa API không hợp lệ hoặc bị thiếu.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: Unauthorized
                id: '1'
        '429':
          description: Quá nhiều yêu cầu - Đã vượt quá giới hạn tốc độ.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32005
                  message: Too many requests
                id: '1'
        '500':
          description: Lỗi máy chủ nội bộ - Đã xảy ra lỗi trên máy chủ.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32603
                  message: Internal error
                id: '1'
        '503':
          description: Dịch vụ không khả dụng - Dịch vụ tạm thời không khả dụng.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32002
                  message: Service unavailable
                id: '1'
        '504':
          description: Hết thời gian chờ cổng kết nối - Yêu cầu đã hết thời gian chờ.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32003
                  message: Gateway timeout
                id: '1'
      security:
        - ApiKeyQuery: []
components:
  schemas:
    Limit:
      type: integer
      format: int64
      minimum: 0
      description: >-
        Số lượng chữ ký giao dịch nén tối đa trên Solana được trả về trong một
        yêu cầu
    Context:
      type: object
      required:
        - slot
      properties:
        slot:
          type: integer
          default: 100
          example: 100
          description: Slot hiện tại của blockchain Solana cho yêu cầu chữ ký nén này
    PaginatedSignatureInfoList:
      type: object
      required:
        - items
      properties:
        cursor:
          type: string
          nullable: true
          description: >-
            Con trỏ phân trang để truy xuất tập hợp chữ ký giao dịch nén tiếp
            theo trên Solana
        items:
          type: array
          items:
            $ref: '#/components/schemas/SignatureInfo'
          description: >-
            Mảng chữ ký giao dịch NFT nén và token trên Solana cùng siêu dữ liệu
            tương ứng
    ErrorResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          description: Phiên bản giao thức JSON-RPC.
          enum:
            - '2.0'
          example: '2.0'
        error:
          type: object
          properties:
            code:
              type: integer
              description: Mã lỗi.
              example: -32602
            message:
              type: string
              description: Thông báo lỗi.
            data:
              type: object
              description: Dữ liệu bổ sung về lỗi.
        id:
          type: string
          description: Mã định danh khớp với yêu cầu.
          example: '1'
    SignatureInfo:
      type: object
      required:
        - signature
        - slot
        - blockTime
      properties:
        blockTime:
          $ref: '#/components/schemas/UnixTimestamp'
          description: >-
            Dấu thời gian Unix khi giao dịch tài sản nén này trên Solana được xử
            lý
        signature:
          $ref: '#/components/schemas/SerializableSignature'
          description: Chữ ký giao dịch duy nhất cho hoạt động tài sản nén này trên Solana
        slot:
          $ref: '#/components/schemas/UnsignedInteger'
          description: Slot của blockchain Solana chứa giao dịch tài sản nén này
    UnixTimestamp:
      type: integer
      description: >-
        Dấu thời gian Unix (giây) khi giao dịch tài sản nén trên Solana được xử
        lý
      default: 1714081554
      example: 1714081554
    SerializableSignature:
      type: string
      description: >-
        Chữ ký giao dịch Solana cho một hoạt động liên quan đến nén, được dùng
        để xác định và xác minh giao dịch.
      default: 5J8H5sTvEhnGcB4R8K1n7mfoiWUD9RzPVGES7e3WxC7c
      example: 5J8H5sTvEhnGcB4R8K1n7mfoiWUD9RzPVGES7e3WxC7c
    UnsignedInteger:
      type: integer
      default: 100
      example: 100
      description: Giá trị số nguyên không âm biểu thị số slot trên blockchain Solana
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        Khóa API Helius của bạn. Bạn có thể nhận khóa miễn phí trong [bảng điều
        khiển](https://dashboard.helius.dev/api-keys).

````