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

# getMultipleNewAddressProofsV2

> Gibt batchweise ZK-Komprimierungsnachweise (V2) zurück, die bestätigen, dass eine Menge neuer komprimierter Adressen einzigartig und zur Erstellung verfügbar sind.

## Anfrageparameter

<ParamField body="address" type="string" required default="11111118F5rixNBnFLmioWZSYzjjFuAL5dyoDVzhD">
  Ein Solana-Öffentlichkeits-Schlüssel, dargestellt als base58-String.
</ParamField>

<ParamField body="tree" type="string" required default="11111118F5rixNBnFLmioWZSYzjjFuAL5dyoDVzhD">
  Ein Solana-Öffentlichkeits-Schlüssel, dargestellt als base58-String.
</ParamField>


## OpenAPI

````yaml de/openapi/zk-compression/getMultipleNewAddressProofsV2.yaml POST /
openapi: 3.0.3
info:
  title: photon-indexer
  description: Solana-Indexer für allgemeine Komprimierung
  license:
    name: Apache-2.0
  version: 0.50.0
servers:
  - url: https://mainnet.helius-rpc.com
    description: Mainnet RPC-Endpunkt
  - url: https://devnet.helius-rpc.com
    description: Devnet RPC-Endpunkt
security: []
paths:
  /:
    summary: getMultipleNewAddressProofsV2
    post:
      description: Ruft Informationen zu getMultipleNewAddressProofsV2 ab
      operationId: getMultipleNewAddressProofsV2
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
                - params
              properties:
                jsonrpc:
                  type: string
                  description: Die Version des JSON-RPC-Protokolls.
                  enum:
                    - '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: Eine ID zur Identifizierung der Anfrage.
                  default: '1'
                method:
                  type: string
                  description: Der Name der aufzurufenden Methode.
                  enum:
                    - getMultipleNewAddressProofsV2
                  default: getMultipleNewAddressProofsV2
                params:
                  type: array
                  default:
                    - address: 11111117qkFjr4u54stuNNUR8fRF8dNhaP35yvANs
                      tree: amt1Ayt45jfbdw5YSo7iz6WZxUmnZsQTYXy82hVwyC2
                  items:
                    $ref: '#/components/schemas/AddressWithTree'
        required: true
      responses:
        '200':
          description: >-
            Erfolgreiches Abrufen mehrerer neuer Adressnachweise (V2) vom
            Solana-Komprimierungsdienst
          content:
            application/json:
              schema:
                type: object
                required:
                  - context
                  - value
                properties:
                  context:
                    $ref: '#/components/schemas/Context'
                  value:
                    type: array
                    items:
                      $ref: '#/components/schemas/MerkleContextWithNewAddressProof'
        '400':
          description: >-
            Fehlerhafte Anfrage - Ungültige Anforderungsparameter oder
            fehlerhafte Anfrage.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: Ungültige Parameter
                id: '1'
        '401':
          description: Nicht autorisiert - Ungültiger oder fehlender API-Schlüssel.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: Nicht autorisiert
                id: '1'
        '429':
          description: Zu viele Anfragen - Ratenlimit überschritten.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32005
                  message: Zu viele Anfragen
                id: '1'
        '500':
          description: Interner Serverfehler - Ein Fehler ist auf dem Server aufgetreten.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32603
                  message: Interner Fehler
                id: '1'
        '503':
          description: >-
            Dienst nicht verfügbar - Der Dienst ist vorübergehend nicht
            verfügbar.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32002
                  message: Dienst nicht verfügbar
                id: '1'
        '504':
          description: Gateway Timeout - Die Anfrage ist abgelaufen.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32003
                  message: Gateway Timeout
                id: '1'
      security:
        - ApiKeyQuery: []
components:
  schemas:
    AddressWithTree:
      type: object
      required:
        - address
        - tree
      properties:
        address:
          $ref: '#/components/schemas/SerializablePubkey'
        tree:
          $ref: '#/components/schemas/SerializablePubkey'
      additionalProperties: false
    Context:
      type: object
      required:
        - slot
      properties:
        slot:
          type: integer
          default: 100
          example: 100
    MerkleContextWithNewAddressProof:
      type: object
      required:
        - root
        - address
        - lowerRangeAddress
        - higherRangeAddress
        - nextIndex
        - proof
        - merkleTree
        - rootSeq
        - lowElementLeafIndex
      properties:
        address:
          $ref: '#/components/schemas/SerializablePubkey'
        higherRangeAddress:
          $ref: '#/components/schemas/SerializablePubkey'
        lowElementLeafIndex:
          type: integer
          format: int32
          minimum: 0
        lowerRangeAddress:
          $ref: '#/components/schemas/SerializablePubkey'
        merkleTree:
          $ref: '#/components/schemas/SerializablePubkey'
        nextIndex:
          type: integer
          format: int32
          minimum: 0
        proof:
          type: array
          items:
            $ref: '#/components/schemas/Hash'
        root:
          $ref: '#/components/schemas/Hash'
        rootSeq:
          type: integer
          format: int64
          minimum: 0
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          description: Die Version des JSON-RPC-Protokolls.
          enum:
            - '2.0'
          example: '2.0'
        error:
          type: object
          properties:
            code:
              type: integer
              description: Der Fehlercode.
              example: -32602
            message:
              type: string
              description: Die Fehlermeldung.
            data:
              type: object
              description: Zusätzliche Daten über den Fehler.
        id:
          type: string
          description: Kennung, die der Anfrage entspricht.
          example: '1'
    SerializablePubkey:
      type: string
      description: Ein Solana-Public-Key, der als base58-String dargestellt wird.
      default: 11111118F5rixNBnFLmioWZSYzjjFuAL5dyoDVzhD
      example: 11111118F5rixNBnFLmioWZSYzjjFuAL5dyoDVzhD
    Hash:
      type: string
      description: Ein 32-Byte-Hash, der als base58-String dargestellt wird.
      example: 11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        Ihr Helius API-Schlüssel. Sie können einen kostenlos im
        [Dashboard](https://dashboard.helius.dev/api-keys) erhalten.

````