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

# getEpochSchedule

> このクラスターのジェネシス設定からエポックスケジュール情報を返します。



## OpenAPI

````yaml ja/openapi/rpc-http/getEpochSchedule.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: getEpochSchedule
      description: >
        Solanaのエポックに基づくブロックチェーン構造を定義するコアタイミングパラメータを取得します。

        このネットワーク構成APIは、Solanaブロックチェーン上でスロットがどのようにエポックに組織されるかを管理する基本的なタイミング定数を提供します。エポックは、バリデータの回転、ステーキング報酬、レンタコレクション、およびその他の定期的なブロックチェーン操作の主な時間単位を表します。エポックスケジュールパラメータは、エポックを構成するスロット数とリーダースケジュールが計算される時期を正確に定義します。時間ベースの計算を行うアプリケーション、報酬期間を追跡するステーキングシステム、リーダースケジュールを予測するバリデータソフトウェア、およびネットワークの基本的なタイミング構造とブロックチェーンのイベントを関連付ける分析ツールにとって不可欠です。
      operationId: getEpochSchedule
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  description: JSON-RPCプロトコルバージョン。
                  enum:
                    - '2.0'
                  example: '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: リクエストの一意の識別子。
                  example: '1'
                  default: '1'
                method:
                  type: string
                  description: 呼び出すRPCメソッド名。
                  enum:
                    - getEpochSchedule
                  example: getEpochSchedule
                  default: getEpochSchedule
      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: object
                    description: Solanaブロックチェーンのエポック構造を定義する包括的なタイミング定数。
                    properties:
                      slotsPerEpoch:
                        type: integer
                        description: 通常の運用期間中に完全なSolanaエポックを構成するスロットの数（ウォームアップ期間後）。
                        example: 8192
                      leaderScheduleSlotOffset:
                        type: integer
                        description: 次のエポックのバリデータリーダースケジュールが計算され公開される前のオフセット。
                        example: 8192
                      warmup:
                        type: boolean
                        description: >-
                          ネットワークがジェネシス時に徐々にエポックの長さを増加させるウォームアップ期間を使用しているかどうかを示すブール値。
                        example: true
                      firstNormalEpoch:
                        type: integer
                        description: slotsPerEpochによって定義される完全な標準長に達する最初のエポック番号。
                        example: 8
                      firstNormalSlot:
                        type: integer
                        description: 最初のウォームアップ期間後にエポックが標準長に達する場合の絶対スロット番号。
                        example: 8160
              examples:
                response:
                  value:
                    jsonrpc: '2.0'
                    id: '1'
                    result:
                      slotsPerEpoch: 8192
                      leaderScheduleSlotOffset: 8192
                      warmup: true
                      firstNormalEpoch: 8
                      firstNormalSlot: 8160
        '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: 未承認
        '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
          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)から取得できます。

````