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

# isBlockhashValid

> 블록 해시가 여전히 유효한지 여부를 반환합니다.

## 요청 매개변수

<ParamField body="blockhash" type="string" required>
  유효성 상태를 확인할 블록 해시, base-58로 인코딩된 문자열입니다.
</ParamField>

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

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

<ParamField body="minContextSlot" type="number">
  요청을 평가할 수 있는 최소 슬롯입니다.
</ParamField>


## OpenAPI

````yaml ko/openapi/rpc-http/isBlockhashValid.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: isBlockhashValid
      description: >
        Solana 블록해시가 거래 제출에 여전히 유효한지 확인하세요. 이 중요한 거래 준비 API는 애플리케이션이 이전에 획득한
        블록해시가 유효성 창 내에 여전히 있는지 확인할 수 있게 해줍니다(일반적으로 약 2분 또는 약 150 블록). 유효기간이 지난
        블록해시로 구성된 거래는 네트워크에 의해 거부되므로, 제출 전에 유효성을 확인하면 거래 실패 및 시간 초과 오류를 방지할 수
        있습니다. 지갑 애플리케이션, 거래소, 결제 프로세서 및 미리 거래를 준비하거나 대기 중인 거래가 여전히 제출될 수 있는지
        확인해야 하거나 만료 방지를 위해 새로운 블록해시로 재구성해야 하는 모든 서비스에 중요합니다.
      operationId: isBlockhashValid
      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: '45'
                  default: '1'
                method:
                  type: string
                  enum:
                    - isBlockhashValid
                  description: 호출할 RPC 메서드의 이름입니다.
                  example: isBlockhashValid
                  default: isBlockhashValid
                params:
                  type: array
                  description: 블록해시 유효성을 평가하기 위한 매개변수입니다.
                  default:
                    - J7rBdM6AecPDEZp8aPq5iPSNKVkU5Q76F3oAV4eW5wsW
                    - commitment: processed
                  items:
                    oneOf:
                      - type: string
                        description: 유효성 상태를 확인할 블록해시로, base-58로 인코딩된 문자열입니다.
                        example: J7rBdM6AecPDEZp8aPq5iPSNKVkU5Q76F3oAV4eW5wsW
                      - type: object
                        description: 요청에 대한 구성 옵션입니다.
                        properties:
                          commitment:
                            type: string
                            description: 요청에 대한 커밋 레벨입니다.
                            enum:
                              - confirmed
                              - finalized
                              - processed
                            example: processed
                          minContextSlot:
                            type: integer
                            description: 요청을 평가할 수 있는 최소 슬롯입니다.
                            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: '45'
                  result:
                    type: object
                    description: 블록해시 유효성 결과입니다.
                    properties:
                      context:
                        type: object
                        description: 응답의 컨텍스트입니다.
                        properties:
                          slot:
                            type: integer
                            description: 데이터가 가져온 슬롯입니다.
                            example: 2483
                      value:
                        type: boolean
                        description: 이 블록해시가 여전히 유효성 창 내에 있고 새 거래에 사용할 수 있는지를 나타내는 부울입니다.
                        example: false
              examples:
                default:
                  $ref: '#/components/examples/isBlockhashValidResponse'
        '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:
    isBlockhashValidResponse:
      value:
        jsonrpc: '2.0'
        id: '45'
        result:
          context:
            slot: 2483
          value: false
  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)에서 무료로
        얻을 수 있습니다.

````