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

# getBlockCommitment

> 특정 Solana 블록에 대한 클러스터 커밋 및 스테이크 가중치 투표 분포를 반환합니다. 이는 블록이 검증자 집합 전반에서 얼마나 광범위하게 확인되었거나 완료되었는지 확인하는 데 사용됩니다.



## OpenAPI

````yaml ko/openapi/rpc-http/getBlockCommitment.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  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: getBlockCommitment
      description: 특정 블록에 대한 커밋 정보를 반환합니다.
      operationId: getBlockCommitment
      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:
                    - getBlockCommitment
                  description: 호출할 RPC 메서드의 이름입니다.
                  default: getBlockCommitment
                params:
                  type: array
                  description: 요청에 대한 매개변수입니다.
                  default:
                    - 430
                  items:
                    type: integer
                    description: 슬롯에 의해 식별된 블록 번호 (`u64` 정수).
                    example: 5
      responses:
        '200':
          description: 블록 커밋을 성공적으로 가져왔습니다.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    enum:
                      - '2.0'
                  id:
                    type: string
                  result:
                    type: object
                    properties:
                      commitment:
                        oneOf:
                          - type: 'null'
                            description: 블록이 알려지지 않았거나 검증자가 확인하지 않은 경우 null을 반환합니다.
                          - type: array
                            description: >-
                              각 깊이에서 블록에 투표한 람포트의 클러스터 스테이크 양을 기록하는 `u64` 정수
                              배열입니다.
                            items:
                              type: integer
                            example:
                              - 0
                              - 0
                              - 0
                              - 0
                              - 0
                              - 10
                              - 32
                      totalStake:
                        type: integer
                        description: 현재 에포크의 총 활성 스테이크, 람포트 단위.
                        example: 384962848972206900
        '400':
          description: 잘못된 요청 - 잘못된 요청 매개변수 또는 잘못된 요청입니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: Invalid params
                id: '1'
        '401':
          description: 권한 없음 - 잘못되었거나 API 키가 없습니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: Unauthorized
                id: '1'
        '429':
          description: 요청이 너무 많음 - 레이트 제한 초과.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32005
                  message: Too many requests
                id: '1'
        '500':
          description: 내부 서버 오류 - 서버에서 오류가 발생했습니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32603
                  message: Internal error
                id: '1'
        '503':
          description: 서비스를 사용할 수 없음 - 서비스가 일시적으로 사용할 수 없습니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32002
                  message: Service unavailable
                id: '1'
        '504':
          description: 게이트웨이 시간 초과 - 요청 시간이 초과되었습니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32003
                  message: Gateway timeout
                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)에서 무료로
        받을 수 있습니다.

````