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

# getMultipleCompressedAccounts

> 지정된 주소나 해시로 여러 압축 계정을 반환합니다.

## 요청 매개변수

<ParamField body="addresses" type="array">
  가져올 압축 계정의 Solana 공개 키 배열
</ParamField>

<ParamField body="hashes" type="array">
  가져올 압축된 Solana 계정을 식별하는 데이터 해시 배열
</ParamField>


## OpenAPI

````yaml ko/openapi/zk-compression/getMultipleCompressedAccounts.yaml POST /
openapi: 3.0.3
info:
  title: Solana State Compression Batch API
  description: >
    상태 압축 기술을 사용하여 Solana 블록체인에서 효율적이고 비용 효율적인 데이터 저장을 가능하게 하는 압축 계정을 위한 고급
    Solana 인덱서입니다.

    이 API는 최적화된 압축 NFT와 토큰 계정의 일괄 검색을 제공하여 애플리케이션이 Solana의 획기적인 압축 기술의 혜택을 누리면서
    효율적으로 확장될 수 있도록 합니다. 이는 온체인 저장 비용을 최대 1000배까지 줄여줍니다.
  license:
    name: Apache-2.0
  version: 0.50.0
servers:
  - url: https://mainnet.helius-rpc.com
    description: 메인넷 RPC 엔드포인트
  - url: https://devnet.helius-rpc.com
    description: Devnet RPC 엔드포인트
security: []
paths:
  /:
    summary: getMultipleCompressedAccounts
    post:
      description: |
        Solana 블록체인에서 단일 요청으로 여러 압축 계정을 효율적으로 검색합니다.
        이 최적화된 일괄 엔드포인트를 통해 개발자는 여러 상태 압축 계정을 주소 또는 해시별로 검색할 수 있습니다.
        RPC 호출 및 네트워크 오버헤드를 줄이며, 대량의 압축 NFT, 토큰 또는 기타 압축 Solana 데이터 구조를 처리해야 하는
        고성능 및 비용 효율적인 데이터 액세스가 필요한 애플리케이션에 이상적입니다.

        주요 사용 사례:
        - 압축 NFT 컬렉션 데이터의 대량 검색
        - 여러 압축 자산을 표시하는 지갑 애플리케이션
        - 압축 NFT 메타데이터를 일괄 로딩하는 마켓플레이스
        - 여러 압축 토큰을 처리하는 분석 플랫폼
        - 효율적으로 여러 게임 내 자산을 검색하는 게임
      operationId: getMultipleCompressedAccounts
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
                - params
              properties:
                jsonrpc:
                  type: string
                  description: JSON-RPC 프로토콜의 버전.
                  enum:
                    - '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: 요청을 식별하기 위한 ID.
                  default: '1'
                method:
                  type: string
                  description: 호출할 메서드의 이름.
                  enum:
                    - getMultipleCompressedAccounts
                  default: getMultipleCompressedAccounts
                params:
                  type: object
                  description: |
                    주소 또는 암호화 해시별 조회를 지원하는
                    여러 압축 Solana 계정 데이터를 일괄 검색하기 위한 요청 매개변수
                  default:
                    addresses: null
                    hashes:
                      - 1111111QLbz7JHiBTspS962RLKV8GndWFwiEaqKM
                      - 1111111ogCyDbaRMvkdsHB3qfdyFYaG1WtRUAfdh
                  properties:
                    addresses:
                      type: array
                      items:
                        $ref: '#/components/schemas/SerializablePubkey'
                      nullable: true
                      description: 검색할 압축 계정의 Solana 공개 키 배열
                    hashes:
                      type: array
                      items:
                        $ref: '#/components/schemas/Hash'
                      nullable: true
                      description: 검색할 압축 Solana 계정을 식별하는 데이터 해시 배열
                  additionalProperties: false
                  example:
                    addresses: null
                    hashes:
                      - 1111111QLbz7JHiBTspS962RLKV8GndWFwiEaqKM
                      - 1111111ogCyDbaRMvkdsHB3qfdyFYaG1WtRUAfdh
        required: true
      responses:
        '200':
          description: 단일 배치 작업에서 여러 압축 Solana 계정을 성공적으로 검색했습니다
          content:
            application/json:
              schema:
                type: object
                required:
                  - context
                  - value
                properties:
                  context:
                    $ref: '#/components/schemas/Context'
                  value:
                    $ref: '#/components/schemas/AccountList'
                additionalProperties: false
        '400':
          description: 잘못된 요청 - 잘못된 요청 매개변수 또는 잘못된 요청.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: 잘못된 매개변수
                id: '1'
        '401':
          description: 권한 없음 - 잘못되었거나 누락된 API 키.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: 권한 없음
                id: '1'
        '429':
          description: 요청이 너무 많음 - 속도 제한 초과.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32005
                  message: 요청이 너무 많음
                id: '1'
        '500':
          description: 서버 내부 오류 - 서버에서 오류가 발생했습니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32603
                  message: 내부 오류
                id: '1'
        '503':
          description: 서비스 사용 불가 - 서비스가 일시적으로 사용 불가능합니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32002
                  message: 서비스 사용 불가
                id: '1'
        '504':
          description: 게이트웨이 시간 초과 - 요청 시간 초과.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32003
                  message: 게이트웨이 시간 초과
                id: '1'
      security:
        - ApiKeyQuery: []
components:
  schemas:
    SerializablePubkey:
      type: string
      description: 압축 계정, 머클 트리 및 소유자를 식별하는 데 사용되는 base58 문자열로 표현된 Solana 공개 키입니다.
      default: 11111115RidqCHAoz6dzmXxGcfWLNzevYqNpaRAUo
      example: 11111115RidqCHAoz6dzmXxGcfWLNzevYqNpaRAUo
    Hash:
      type: string
      description: Solana 압축 계정 데이터 무결성을 검증하는 데 사용되는 base58 문자열로 표현된 32바이트 암호화 해시입니다.
      example: 11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP
    Context:
      type: object
      required:
        - slot
      properties:
        slot:
          type: integer
          default: 100
          example: 100
          description: 요청 시점의 현재 Solana 블록체인 슬롯
    AccountList:
      type: object
      required:
        - items
      properties:
        items:
          type: array
          items:
            allOf:
              - $ref: '#/components/schemas/Account'
            nullable: true
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          description: JSON-RPC 프로토콜 버전.
          enum:
            - '2.0'
          example: '2.0'
        error:
          type: object
          properties:
            code:
              type: integer
              description: 오류 코드.
              example: -32602
            message:
              type: string
              description: 오류 메시지.
            data:
              type: object
              description: 오류에 대한 추가 데이터.
        id:
          type: string
          description: 요청과 일치하는 식별자.
          example: '1'
    Account:
      type: object
      required:
        - hash
        - owner
        - lamports
        - tree
        - leafIndex
        - seq
        - slotCreated
      properties:
        address:
          $ref: '#/components/schemas/SerializablePubkey'
          description: 압축 계정의 고유한 Solana 주소
        data:
          $ref: '#/components/schemas/AccountData'
          description: 효율적인 저장 형식의 압축 계정 데이터
        hash:
          $ref: '#/components/schemas/Hash'
          description: 검증을 위한 압축 계정 데이터의 암호화 해시
        lamports:
          $ref: '#/components/schemas/UnsignedInteger'
          description: 압축 계정에 연관된 람포트 잔액
        leafIndex:
          $ref: '#/components/schemas/UnsignedInteger'
          description: 압축 계정이 저장된 머클 트리의 인덱스 위치
        owner:
          $ref: '#/components/schemas/SerializablePubkey'
          description: 이 압축 계정을 소유하는 Solana 프로그램
        seq:
          $ref: '#/components/schemas/UnsignedInteger'
          description: 압축 계정의 업데이트를 추적하기 위한 시퀀스 번호
        slotCreated:
          $ref: '#/components/schemas/UnsignedInteger'
          description: 압축 계정이 생성된 Solana 블록체인 슬롯
        tree:
          $ref: '#/components/schemas/SerializablePubkey'
          description: 이 압축 계정을 포함하는 머클 트리의 주소
      additionalProperties: false
    AccountData:
      type: object
      required:
        - discriminator
        - data
        - dataHash
      properties:
        data:
          $ref: '#/components/schemas/Base64String'
        dataHash:
          $ref: '#/components/schemas/Hash'
        discriminator:
          $ref: '#/components/schemas/UnsignedInteger'
      additionalProperties: false
    UnsignedInteger:
      type: integer
      default: 100
      example: 100
      description: Solana 압축 계정 구조의 다양한 매개변수에 사용되는 음수가 아닌 정수 값
    Base64String:
      type: string
      description: 압축 Solana 계정 데이터를 포함하는 base64 인코딩 문자열입니다.
      default: SGVsbG8sIFdvcmxkIQ==
      example: SGVsbG8sIFdvcmxkIQ==
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        귀하의 Helius API 키입니다. [대시보드](https://dashboard.helius.dev/api-keys)에서 무료로
        얻을 수 있습니다.

````