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

# getAssetProofBatch

> Ambil bukti Merkle untuk beberapa NFT Solana terkompresi dalam satu permintaan batch agar verifikasi dan operasi on-chain lebih efisien

## Parameter Permintaan

<ParamField body="ids" type="array" required />


## OpenAPI

````yaml id/openapi/das-api/getAssetProofBatch.yaml POST /
openapi: 3.1.0
info:
  title: API Verifikasi NFT Terkompresi Batch Solana
  version: 1.0.0
  description: >
    API Solana Digital Asset Standard (DAS) tingkat lanjut untuk mengambil
    beberapa bukti Merkle kriptografis secara efisien bagi NFT terkompresi dalam
    satu permintaan. API verifikasi batch yang dioptimalkan ini memungkinkan
    aplikasi memvalidasi beberapa aset terkompresi secara bersamaan, sehingga
    secara signifikan mengurangi panggilan API dan meningkatkan performa untuk
    daftar marketplace, tampilan dompet, dan aplikasi lain yang menangani
    koleksi NFT Solana terkompresi.
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://mainnet.helius-rpc.com
    description: Endpoint RPC Mainnet
  - url: https://devnet.helius-rpc.com
    description: Endpoint RPC Devnet
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getAssetProofBatch
      description: >
        Ambil bukti Merkle kriptografis secara efisien untuk beberapa NFT Solana
        terkompresi dalam satu permintaan batch.

        API verifikasi yang dioptimalkan ini mengembalikan jalur bukti lengkap
        yang diperlukan untuk memvalidasi keberadaan dan integritas data
        beberapa aset digital terkompresi di blockchain Solana tanpa memerlukan
        panggilan API terpisah untuk setiap NFT.

        Fitur ini sangat penting bagi aplikasi berperforma tinggi seperti
        marketplace, dompet, dan platform game yang perlu memverifikasi
        kepemilikan dan keaslian beberapa NFT terkompresi secara bersamaan
        dengan latensi dan penggunaan API minimal.
      operationId: rpc
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
                - params
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  description: Versi protokol JSON-RPC.
                  default: '2.0'
                id:
                  type: string
                  description: ID untuk mengidentifikasi permintaan.
                  default: '1'
                method:
                  type: string
                  enum:
                    - getAssetProofBatch
                  description: Nama metode DAS yang akan dipanggil.
                  default: getAssetProofBatch
                params:
                  type: object
                  default:
                    ids:
                      - Bu1DEKeawy7txbnCEJE4BU3BKLXaNAKCYcHR4XhndGss
                  required:
                    - ids
                  properties:
                    ids:
                      type: array
                      items:
                        type: string
                        description: >-
                          Array pengidentifikasi unik (alamat mint) NFT Solana
                          terkompresi yang bukti Merkle-nya akan diambil.
                        example: Bu1DEKeawy7txbnCEJE4BU3BKLXaNAKCYcHR4XhndGss
      responses:
        '200':
          description: Respons berhasil
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  result:
                    type: object
                    properties:
                      Bu1DEKeawy7txbnCEJE4BU3BKLXaNAKCYcHR4XhndGss:
                        type: object
                        properties:
                          last_indexed_slot:
                            type: integer
                            description: >-
                              Semua data hingga dan termasuk slot ini dijamin
                              telah diindeks.
                            example: 365750752
                          root:
                            type: string
                            description: >-
                              Hash akar pohon Merkle kompresi status Solana yang
                              memuat NFT terkompresi ini.
                            example: 2o6Y6EiY3WXhoaEpei2pHmHLYnHDcEQVhgD89GrGHDBH
                          proof:
                            type: array
                            description: >-
                              Array hash bukti Merkle yang diperlukan untuk
                              memverifikasi keberadaan NFT Solana terkompresi
                              ini secara kriptografis.
                            items:
                              type: string
                            example:
                              - EmJXiXEAhEN3FfNQtBa5hwR8LC5kHvdLsaGCoERosZjK
                              - 7NEfhcNPAwbw3L87fjsPqTz2fQdd1CjoLE138SD58FDQ
                          node_index:
                            type: integer
                            description: >-
                              Indeks posisi NFT Solana terkompresi ini dalam
                              struktur pohon Merkle.
                            example: 16384
                          leaf:
                            type: string
                            description: >-
                              Hash daun yang merepresentasikan data NFT Solana
                              terkompresi ini dalam pohon Merkle.
                            example: 6YdZXw49M97mfFTwgQb6kxM2c6eqZkHSaW9XhhoZXtzv
                          tree_id:
                            type: string
                            description: >-
                              Pengidentifikasi unik pohon Merkle Solana tempat
                              NFT terkompresi ini disimpan.
                            example: 2kuTFCcjbV22wvUmtmgsFR7cas7eZUzAu96jzJUvUcb7
                          burnt: false
                  id:
                    type: string
                    example: my-id
        '400':
          description: >-
            Permintaan Tidak Valid. Server tidak dapat memahami permintaan
            karena sintaks yang tidak valid.
          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: Parameter permintaan tidak valid.
                  id:
                    type: string
                    example: '1'
        '401':
          description: >-
            Tidak Diotorisasi. Klien harus mengautentikasi dirinya untuk
            mendapatkan respons yang diminta.
          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: >-
                          Autentikasi gagal. Kunci API tidak ada atau tidak
                          valid.
                  id:
                    type: string
                    example: '1'
        '403':
          description: Dilarang. Klien tidak memiliki hak akses ke konten tersebut.
          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: >-
                          Anda tidak memiliki izin untuk mengakses sumber daya
                          ini.
                  id:
                    type: string
                    example: '1'
        '404':
          description: >-
            Tidak Ditemukan. Server tidak dapat menemukan sumber daya yang
            diminta.
          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: Satu atau beberapa aset dalam batch tidak ditemukan.
                  id:
                    type: string
                    example: '1'
        '429':
          description: >-
            Terlalu Banyak Permintaan. Pengguna telah mengirim terlalu banyak
            permintaan dalam jangka waktu tertentu.
          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: Batas laju terlampaui. Silakan coba lagi nanti.
                  id:
                    type: string
                    example: '1'
        '500':
          description: >-
            Kesalahan Server Internal. Server mengalami situasi yang tidak
            diketahui cara penanganannya.
          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: Terjadi kesalahan tak terduga pada server.
                  id:
                    type: string
                    example: '1'
      security:
        - ApiKeyQuery: []
components:
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        Kunci API Helius Anda. Anda bisa mendapatkannya secara gratis di
        [dasbor](https://dashboard.helius.dev/api-keys).

````