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

# getSlotLeaders

> 지정된 슬롯 범위에 대한 슬롯 리더를 반환합니다.

## 요청 매개변수

<ParamField body="slot" type="number" required>
  검증자 일정을 가져올 시작 Solana 슬롯 번호입니다.
</ParamField>

<ParamField body="slot" type="number" required>
  예정된 검증자 ID를 가져올 연속 슬롯 수입니다 (1-5,000).
</ParamField>


## OpenAPI

````yaml ko/openapi/rpc-http/getSlotLeaders.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  description: Solana 검증자에게 여러 향후 슬롯에 걸쳐 블록을 생산하도록 할당된 예정 순서를 검색하기 위한 검증자 일정 예측 API.
  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: getSlotLeaders
      description: |
        향후 슬롯에 대한 솔라나 검증자가 블록을 생산하도록 예정된 순서를 검색합니다.
        이 예측적 합의 API는 다가오는 슬롯 범위에 대한 전체 검증자 회전 일정을 반환하여,
        애플리케이션이 블록 생산을 담당할 검증자를 예측할 수 있도록 합니다.
        네트워크 모니터링 대시보드, 검증자 성능 추적, 합의 시각화 도구, 다가오는 리더 일정을 예측해야 하는
        애플리케이션에 필수적입니다.
        효율적인 일정 검색을 위해 한 번의 요청으로 최대 5,000개의 슬롯을 쿼리할 수 있습니다.
      operationId: getSlotLeaders
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  description: JSON-RPC 프로토콜 버전입니다.
                  example: '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: 요청에 대한 고유 식별자입니다.
                  example: '1'
                  default: '1'
                method:
                  type: string
                  enum:
                    - getSlotLeaders
                  description: 호출할 RPC 메서드의 이름입니다.
                  example: getSlotLeaders
                  default: getSlotLeaders
                params:
                  type: array
                  description: 시작 슬롯과 제한을 지정하는 매개변수입니다.
                  default:
                    - 433341000
                    - 10
                  items:
                    oneOf:
                      - type: integer
                        description: 검증자 일정을 검색하기 시작할 Solana 슬롯 번호입니다.
                        example: 100
                      - type: integer
                        description: 예정된 검증자 ID를 검색할 연속 슬롯 수 (1-5,000).
                        example: 10
      responses:
        '200':
          description: 슬롯 리더를 성공적으로 검색했습니다.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    description: JSON-RPC 프로토콜 버전입니다.
                    enum:
                      - '2.0'
                    example: '2.0'
                  id:
                    type: string
                    description: 요청과 일치하는 식별자입니다.
                    example: '1'
                  result:
                    type: array
                    description: 다가오는 블록 생산에 예정된 솔라나 검증자 ID의 순서 목록입니다.
                    items:
                      type: string
                      description: 특정 슬롯에 블록 생산자로 예정된 솔라나 검증자 ID(공개 키)입니다.
                      example: ChorusmmK7i1AxXeiTtQgQZhQNiXYU84ULeaYF1EH15n
              examples:
                example1:
                  $ref: '#/components/examples/getSlotLeadersResponse'
        '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:
  examples:
    getSlotLeadersResponse:
      value:
        jsonrpc: '2.0'
        id: '1'
        result:
          - ChorusmmK7i1AxXeiTtQgQZhQNiXYU84ULeaYF1EH15n
          - ChorusmmK7i1AxXeiTtQgQZhQNiXYU84ULeaYF1EH15n
          - ChorusmmK7i1AxXeiTtQgQZhQNiXYU84ULeaYF1EH15n
          - ChorusmmK7i1AxXeiTtQgQZhQNiXYU84ULeaYF1EH15n
          - Awes4Tr6TX8JDzEhCZY2QVNimT6iD1zWHzf1vNyGvpLM
          - Awes4Tr6TX8JDzEhCZY2QVNimT6iD1zWHzf1vNyGvpLM
          - Awes4Tr6TX8JDzEhCZY2QVNimT6iD1zWHzf1vNyGvpLM
          - Awes4Tr6TX8JDzEhCZY2QVNimT6iD1zWHzf1vNyGvpLM
          - DWvDTSh3qfn88UoQTEKRV2JnLt5jtJAVoiCo3ivtMwXP
          - DWvDTSh3qfn88UoQTEKRV2JnLt5jtJAVoiCo3ivtMwXP
  schemas:
    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'
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        귀하의 Helius API 키입니다. [대시보드](https://dashboard.helius.dev/api-keys)에서 무료로
        얻을 수 있습니다.

````