> ## 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.

# getAssetProof

> Truy xuất bằng chứng Merkle cho một NFT Solana nén, cần thiết để xác minh và thực hiện các thao tác trên chuỗi như chuyển và đốt

## Tham số yêu cầu

<ParamField body="id" type="string" required>
  Mã định danh duy nhất (địa chỉ mint) của NFT Solana nén cần truy xuất bằng chứng Merkle.
</ParamField>


## OpenAPI

````yaml vi/openapi/das-api/getAssetProof.yaml POST /
openapi: 3.1.0
info:
  title: API xác minh NFT nén Solana
  version: 1.0.0
  description: >
    API Digital Asset Standard (DAS) nâng cao của Solana để truy xuất bằng chứng
    Merkle mật mã 

    cho NFT nén trên blockchain Solana. API xác minh chuyên biệt này cho phép 

    ứng dụng xác thực tài sản nén bằng bằng chứng trạng thái mà không cần toàn
    bộ dữ liệu 

    trên chuỗi, hỗ trợ xác minh quyền sở hữu NFT nén hiệu quả với mức tiết kiệm
    chi phí lên đến 

    1000 lần so với NFT truyền thống.
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
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:
  /:
    post:
      tags:
        - RPC
      summary: getAssetProof
      description: >
        Truy xuất bằng chứng Merkle mật mã cho NFT hoặc token Solana nén.

        API xác minh này trả về đường dẫn bằng chứng đầy đủ cần thiết để xác
        thực sự tồn tại và

        tính toàn vẹn dữ liệu của tài sản kỹ thuật số nén trên blockchain Solana
        mà không cần lưu trữ

        toàn bộ dữ liệu tài sản trên chuỗi. Đây là chức năng thiết yếu cho các
        sàn giao dịch, ví và ứng dụng

        cần xác minh quyền sở hữu và tính xác thực của NFT nén với các bảo đảm
        bảo mật

        như tài sản truyền thống trên chuỗi nhưng chỉ tốn một phần nhỏ chi phí
        lưu trữ.
      operationId: rpc
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
                - params
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  description: Phiên bản của giao thức JSON-RPC.
                  default: '2.0'
                id:
                  type: string
                  description: ID dùng để xác định yêu cầu.
                  default: '1'
                method:
                  type: string
                  enum:
                    - getAssetProof
                  description: Tên của phương thức DAS cần gọi.
                  default: getAssetProof
                params:
                  type: object
                  default:
                    id: Bu1DEKeawy7txbnCEJE4BU3BKLXaNAKCYcHR4XhndGss
                  required:
                    - id
                  properties:
                    id:
                      type: string
                      description: >-
                        Mã định danh duy nhất (địa chỉ mint) của NFT Solana nén
                        cần truy xuất bằng chứng Merkle.
                      example: Bu1DEKeawy7txbnCEJE4BU3BKLXaNAKCYcHR4XhndGss
      responses:
        '200':
          description: Phản hồi thành công
          content:
            application/json:
              schema:
                type: object
                properties:
                  last_indexed_slot:
                    type: integer
                    description: >-
                      Tất cả dữ liệu đến và bao gồm slot này đều được đảm bảo đã
                      lập chỉ mục.
                    example: 365750752
                  root:
                    type: string
                    description: >-
                      Hàm băm gốc của cây Merkle nén trạng thái Solana chứa NFT
                      nén này.
                    example: 2o6Y6EiY3WXhoaEpei2pHmHLYnHDcEQVhgD89GrGHDBH
                  proof:
                    type: array
                    description: >-
                      Mảng các hàm băm bằng chứng Merkle cần thiết để xác minh
                      bằng mật mã rằng NFT Solana nén này tồn tại trong cây.
                    items:
                      type: string
                      example:
                        - EmJXiXEAhEN3FfNQtBa5hwR8LC5kHvdLsaGCoERosZjK
                        - 7NEfhcNPAwbw3L87fjsPqTz2fQdd1CjoLE138SD58FDQ
                        - 6dM3VyeQoYkRFZ74G53EwvUPbQC6LsMZge6c7S1Ds4ks
                        - A9AACJ5m7UtaVz4HxzhDxGjYaY88rc2XPoFvnoTvgYBj
                        - 2VG5cKeBZdqozwhHGGzs13b9tzy9TXt9kPfN8MzSJ1Sm
                        - 3E1uFze4pi6BnTZXMsQbeh3jQCeDi966Zax9aMbYgg2D
                        - Bx9PdctdWCeC1WfU6dwP49idsXCYhqyxbRLyLwwGhr61
                        - HSbJ8quT4vuXFgf5FnjzeUuFfAtLKsq6W1Frj8y1qrif
                        - GJMLzL4F4hY9yFHY1EY6XRmW4wpuNGeBZTiv7vM2mYra
                        - FYPtEiqmRx6JprHQvWeEWEuVp3WA7DPRCE4VbhFRVuAj
                        - 6MJKrpnK1GbYsnEzwMRWStNGkTjAZF23NhzTQSQVXsD3
                        - HjnrJn5vBUUzpCxzjjM9ZnCPuXei2cXKJjX468B9yWD7
                        - 4YCF1CSyTXm1Yi9W9JeYevawupkomdgy2dLxEBHL9euq
                        - E3oMtCuPEauftdZLX8EZ8YX7BbFzpBCVRYEiLxwPJLY2
                  node_index:
                    type: integer
                    description: >-
                      Chỉ số vị trí của NFT nén này trong cấu trúc cây Merkle
                      Solana.
                    example: 16384
                  leaf:
                    type: string
                    description: >-
                      Hàm băm lá đại diện cho dữ liệu của NFT nén này trong cây
                      Merkle Solana.
                    example: 6YdZXw49M97mfFTwgQb6kxM2c6eqZkHSaW9XhhoZXtzv
                  tree_id:
                    type: string
                    description: >-
                      Mã định danh duy nhất của cây Merkle Solana lưu trữ NFT
                      nén này.
                    example: 2kuTFCcjbV22wvUmtmgsFR7cas7eZUzAu96jzJUvUcb7
                  burnt: false
        '204':
          description: Không có nội dung.
        '400':
          description: >-
            Yêu cầu không hợp lệ. Máy chủ không thể hiểu yêu cầu do cú pháp
            không hợp lệ.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32602
                      message:
                        type: string
                        example: Tham số yêu cầu không hợp lệ.
                  id:
                    type: string
                    example: '1'
        '401':
          description: >-
            Chưa được xác thực. Máy khách phải tự xác thực để nhận phản hồi được
            yêu cầu.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32001
                      message:
                        type: string
                        example: >-
                          Xác thực không thành công. Khóa API bị thiếu hoặc
                          không hợp lệ.
                  id:
                    type: string
                    example: '1'
        '403':
          description: Bị cấm. Máy khách không có quyền truy cập nội dung.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32003
                      message:
                        type: string
                        example: Bạn không có quyền truy cập tài nguyên này.
                  id:
                    type: string
                    example: '1'
        '404':
          description: Không tìm thấy. Máy chủ không thể tìm thấy tài nguyên được yêu cầu.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32004
                      message:
                        type: string
                        example: Không tìm thấy bằng chứng tài sản cho ID đã chỉ định.
                  id:
                    type: string
                    example: '1'
        '429':
          description: >-
            Quá nhiều yêu cầu. Người dùng đã gửi quá nhiều yêu cầu trong một
            khoảng thời gian nhất định.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32029
                      message:
                        type: string
                        example: Đã vượt quá giới hạn tốc độ. Vui lòng thử lại sau.
                  id:
                    type: string
                    example: '1'
        '500':
          description: >-
            Lỗi máy chủ nội bộ. Máy chủ đã gặp phải tình huống mà máy chủ không
            biết cách xử lý.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32000
                      message:
                        type: string
                        example: Đã xảy ra lỗi không mong muốn trên máy chủ.
                  id:
                    type: string
                    example: '1'
      security:
        - ApiKeyQuery: []
components:
  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).

````