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

# getSlot

> 지정된 또는 기본 커밋 수준에 도달한 슬롯을 반환합니다.

## 요청 매개변수

<ParamField body="commitment" type="string">
  슬롯을 가져올 마감 수준 (processed = 가장 빠름, finalized = 완전히 확인됨).

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

<ParamField body="minContextSlot" type="number">
  이 요청을 처리하기 전에 도달해야 하는 최소 Solana 블록체인 슬롯.
</ParamField>


## OpenAPI

````yaml ko/openapi/rpc-http/getSlot.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: getSlot
      description: |
        구성 가능한 확정성 보장을 통해 Solana 블록체인의 현재 슬롯 번호를 검색합니다.
        이 기본 API는 네트워크의 진행에 대한 실시간 정보를 제공하여 블록체인 동기화, 모니터링 및
        발전 추적에 필수적입니다. 슬롯 번호는 체인의 현재 높이를 나타내며 거래 포함, 블록
        타이밍 및 확정성 상태 결정의 기준으로 사용됩니다. 네트워크의 진행 상황을 추적하거나
        확인 상태를 결정하거나 블록체인 동기화와 함께 타이밍 기반 로직을 구현해야 하는
        애플리케이션에 중요합니다.
      operationId: getSlot
      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:
                    - getSlot
                  description: 호출할 RPC 메서드의 이름입니다.
                  example: getSlot
                  default: getSlot
                params:
                  type: array
                  description: 옵션 구성 객체입니다.
                  default: []
                  items:
                    type: object
                    properties:
                      commitment:
                        type: string
                        description: >-
                          확정성을 위해 슬롯을 검색할 수준입니다 (processed = 가장 빠름, finalized =
                          완전 확인됨).
                        enum:
                          - confirmed
                          - finalized
                          - processed
                        example: finalized
                      minContextSlot:
                        type: integer
                        description: 이 요청을 처리하기 전에 도달해야 하는 최소 Solana 블록체인 슬롯입니다.
                        example: 1000
      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: integer
                    description: 네트워크의 높이와 진행 상황을 나타내는 현재 Solana 블록체인 슬롯 번호입니다.
                    example: 1234
              examples:
                getSlotExample:
                  $ref: '#/components/examples/getSlotResponse'
        '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:
    getSlotResponse:
      value:
        jsonrpc: '2.0'
        id: '1'
        result: 1234
  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)에서 무료로
        받을 수 있습니다.

````