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

> 検証やオンチェーン操作（転送やバーン）のために必要な圧縮Solana NFTのマークル証明を取得します

## リクエストパラメータ

<ParamField body="id" type="string" required>
  マークル証明を取得するための圧縮Solana NFTの一意の識別子（ミントアドレス）。
</ParamField>


## OpenAPI

````yaml ja/openapi/das-api/getAssetProof.yaml POST /
openapi: 3.1.0
info:
  title: Solana Compressed NFT Verification API
  version: 1.0.0
  description: >-
    Solanaブロックチェーン上の圧縮NFT用の暗号化マークル証明を取得するための高度なSolanaデジタルアセット標準（DAS）APIです。この特殊な検証APIにより、アプリケーションは、完全なオンチェーンデータを必要とせずに、状態証明を使用して圧縮アセットを検証することができ、従来のNFTと比較して最大1000倍のコスト削減を実現しながら、圧縮NFTの効率的な所有権検証をサポートします。
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://mainnet.helius-rpc.com
    description: メインネットRPCエンドポイント
  - url: https://devnet.helius-rpc.com
    description: Devnet RPCエンドポイント
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getAssetProof
      description: >-
        圧縮Solana
        NFTまたはトークンの暗号化マークル証明を取得します。この検証APIは、Solanaブロックチェーン上で圧縮デジタルアセットの存在とデータの完全性を検証するために必要な完全な証明パスを返し、完全なアセットデータをオンチェーンに保存せずに行います。マーケットプレイス、ウォレット、およびアプリケーションにとって、従来のオンチェーンアセットのセキュリティ保証を持ちながら、圧縮NFTの所有権と正当性を検証するために不可欠です。
      operationId: rpc
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
                - params
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  description: JSON-RPCプロトコルのバージョンです。
                  default: '2.0'
                id:
                  type: string
                  description: リクエストを識別するためのIDです。
                  default: '1'
                method:
                  type: string
                  enum:
                    - getAssetProof
                  description: 呼び出すDASメソッドの名前です。
                  default: getAssetProof
                params:
                  type: object
                  default:
                    id: Bu1DEKeawy7txbnCEJE4BU3BKLXaNAKCYcHR4XhndGss
                  required:
                    - id
                  properties:
                    id:
                      type: string
                      description: マークル証明を取得するための圧縮Solana NFTの一意の識別子（ミントアドレス）です。
                      example: Bu1DEKeawy7txbnCEJE4BU3BKLXaNAKCYcHR4XhndGss
      responses:
        '200':
          description: 成功した応答
          content:
            application/json:
              schema:
                type: object
                properties:
                  last_indexed_slot:
                    type: integer
                    description: このスロットまでのすべてのデータがインデックス化されたことが保証されます。
                    example: 365750752
                  root:
                    type: string
                    description: この圧縮NFTを含むSolana状態圧縮マークルツリーのルートハッシュです。
                    example: 2o6Y6EiY3WXhoaEpei2pHmHLYnHDcEQVhgD89GrGHDBH
                  proof:
                    type: array
                    description: このSolana圧縮NFTがツリーに存在することを暗号的に検証するために必要なマークル証明ハッシュの配列です。
                    items:
                      type: string
                      example:
                        - EmJXiXEAhEN3FfNQtBa5hwR8LC5kHvdLsaGCoERosZjK
                        - 7NEfhcNPAwbw3L87fjsPqTz2fQdd1CjoLE138SD58FDQ
                        - 6dM3VyeQoYkRFZ74G53EwvUPbQC6LsMZge6c7S1Ds4ks
                        - A9AACJ5m7UtaVz4HxzhDxGjYaY88rc2XPoFvnoTvgYBj
                        - 2VG5cKeBZdqozwhHGGzs13b9tzy9TXt9kPfN8MzSJ1Sm
                        - 3E1uFze4pi6BnTZXMsQbeh3jQCeDi966Zax9aMbYgg2D
                        - Bx9PdctdWCeC1WfU6dwP49idsXCYhqyxbRLyLwwGhr61
                        - HSbJ8quT4vuXFgf5FnjzeUuFfAtLKsq6W1Frj8y1qrif
                        - GJMLzL4F4hY9yFHY1EY6XRmW4wpuNGeBZTiv7vM2mYra
                        - FYPtEiqmRx6JprHQvWeEWEuVp3WA7DPRCE4VbhFRVuAj
                        - 6MJKrpnK1GbYsnEzwMRWStNGkTjAZF23NhzTQSQVXsD3
                        - HjnrJn5vBUUzpCxzjjM9ZnCPuXei2cXKJjX468B9yWD7
                        - 4YCF1CSyTXm1Yi9W9JeYevawupkomdgy2dLxEBHL9euq
                        - E3oMtCuPEauftdZLX8EZ8YX7BbFzpBCVRYEiLxwPJLY2
                  node_index:
                    type: integer
                    description: Solanaマークルツリー構造におけるこの圧縮NFTの位置インデックスです。
                    example: 16384
                  leaf:
                    type: string
                    description: Solanaマークルツリー内のこの圧縮NFTのデータを表すリーフハッシュです。
                    example: 6YdZXw49M97mfFTwgQb6kxM2c6eqZkHSaW9XhhoZXtzv
                  tree_id:
                    type: string
                    description: この圧縮NFTが保存されているSolanaマークルツリーの一意の識別子です。
                    example: 2kuTFCcjbV22wvUmtmgsFR7cas7eZUzAu96jzJUvUcb7
                  burnt: false
        '204':
          description: コンテンツなし。
        '400':
          description: 不正なリクエスト。無効な構文のため、サーバーはリクエストを理解できませんでした。
          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: 無効なリクエストパラメータ。
                  id:
                    type: string
                    example: '1'
        '401':
          description: 未承認。クライアントは要求された応答を取得するために認証する必要があります。
          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: 認証に失敗しました。APIキーがないか無効です。
                  id:
                    type: string
                    example: '1'
        '403':
          description: 禁止されています。クライアントはコンテンツへのアクセス権を持っていません。
          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: このリソースにアクセスする権限がありません。
                  id:
                    type: string
                    example: '1'
        '404':
          description: 見つかりません。サーバーは要求されたリソースを見つけることができません。
          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: 指定されたIDのアセット証明が見つかりませんでした。
                  id:
                    type: string
                    example: '1'
        '429':
          description: リクエストが多すぎます。一定時間内にユーザーが過剰なリクエストを送信しました。
          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: レート制限を超えました。後でもう一度やり直してください。
                  id:
                    type: string
                    example: '1'
        '500':
          description: 内部サーバーエラー。サーバーは対処方法がわからない状況に直面しました。
          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: サーバーで予期しないエラーが発生しました。
                  id:
                    type: string
                    example: '1'
      security:
        - ApiKeyQuery: []
components:
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        Helius
        APIキーです。[ダッシュボード](https://dashboard.helius.dev/api-keys)で無料で取得できます。

````