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

# getBlockProduction

> 현재 또는 이전 에폭의 최근 블록 생산 정보를 반환합니다.

## 요청 매개변수

<ParamField body="commitment" type="string">
  요청에 대한 커밋 수준입니다.

  * `processed`
  * `confirmed`
  * `finalized`
</ParamField>

<ParamField body="identity" type="string">
  특정 검증자에 대한 결과를 필터링하기 위한 선택적 검증자 ID 공개 키(base-58 인코딩)입니다.
</ParamField>

<ParamField body="range" type="object">
  블록 생산 통계의 기간을 제한하기 위한 선택적 슬롯 범위 경계입니다.
</ParamField>

<ParamField body="range.firstSlot" type="number">
  블록 생산 통계를 분석하기 시작하는 시작 슬롯 번호(포함)입니다.
</ParamField>

<ParamField body="range.lastSlot" type="number">
  블록 생산 통계를 분석할 마지막 슬롯 번호(포함)입니다. 생략하면 현재 슬롯을 사용합니다.
</ParamField>


## OpenAPI

````yaml ko/openapi/rpc-http/getBlockProduction.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: getBlockProduction
      description: >
        지정된 슬롯 범위 내에서 Solana 검증자를 위한 세부적인 블록 생성 통계를 검색합니다.

        이 성능 분석 API는 리더로서 예약된 블록을 생성하는 각 검증자의 효율성에 대한 정확한 지표를 제공합니다.

        검증자가 리더로 지정된 슬롯 수와 실제로 성공적으로 생성한 블록 수를 모두 반환하여 신뢰도 비율을 계산할 수 있습니다.

        검증자 성능 모니터링, 네트워크 상태 분석, 스테이킹 대시보드, 위임 결정 시 검증자 신뢰성을 평가하거나 Solana 네트워크
        참여 효율성을 모니터링해야 하는 애플리케이션에 필수적입니다.
      operationId: getBlockProduction
      requestBody:
        required: true
        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: 요청의 고유 식별자.
                  example: '1'
                  default: '1'
                method:
                  type: string
                  enum:
                    - getBlockProduction
                  description: 호출할 RPC 메서드의 이름.
                  default: getBlockProduction
                params:
                  type: array
                  default: []
                  description: 요청에 대한 매개변수.
                  items:
                    oneOf:
                      - type: object
                        description: 요청에 대한 구성 옵션.
                        properties:
                          commitment:
                            type: string
                            description: 요청에 대한 확정 수준.
                            enum:
                              - processed
                              - confirmed
                              - finalized
                            example: finalized
                          identity:
                            type: string
                            description: >-
                              특정 검증자에 대한 결과를 필터링하기 위한 선택적 검증자 ID 공개 키 (base-58
                              인코딩).
                            example: 85iYT5RuzRTDgjyRa3cP8SYhM2j21fj7NhfJ3peu1DPr
                          range:
                            type: object
                            description: 블록 생성 통계의 시간 범위를 제한하기 위한 선택적 슬롯 범위 경계.
                            properties:
                              firstSlot:
                                type: integer
                                description: 블록 생성 통계 분석을 시작할 시작 슬롯 번호 (포함).
                                example: 0
                              lastSlot:
                                type: integer
                                description: >-
                                  블록 생성 통계 분석을 종료할 마지막 슬롯 번호 (포함). 생략하면 현재 슬롯을
                                  사용합니다.
                                example: 9887
      responses:
        '200':
          description: 성공적으로 블록 생성 정보를 검색했습니다.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    enum:
                      - '2.0'
                  id:
                    type: string
                  result:
                    type: object
                    properties:
                      context:
                        type: object
                        properties:
                          slot:
                            type: integer
                            description: 응답 시간의 슬롯.
                            example: 9887
                      value:
                        type: object
                        properties:
                          byIdentity:
                            type: object
                            additionalProperties:
                              type: array
                              items:
                                type: integer
                              description: 이 검증자의 [리더 슬롯, 생성된 블록] 통계를 포함하는 두 요소 배열.
                            description: 검증자 ID 공개 키를 그들의 블록 생성 성능 지표로 매핑한 것.
                            example:
                              85iYT5RuzRTDgjyRa3cP8SYhM2j21fj7NhfJ3peu1DPr:
                                - 9888
                                - 9886
                          range:
                            type: object
                            properties:
                              firstSlot:
                                type: integer
                                description: 분석된 블록 생성 통계 기간의 시작 슬롯 번호.
                                example: 0
                              lastSlot:
                                type: integer
                                description: 분석된 블록 생성 통계 기간의 종료 슬롯 번호.
                                example: 9887
        '400':
          description: 잘못된 요청 - 잘못된 요청 매개변수 또는 형식이 잘못된 요청.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: 잘못된 매개변수
        '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:
    ErrorResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          enum:
            - '2.0'
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        Helius API 키입니다. [대시보드](https://dashboard.helius.dev/api-keys)에서 무료로 받을
        수 있습니다.

````