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

> Mengembalikan informasi jadwal epoch dari konfigurasi genesis cluster ini.



## OpenAPI

````yaml id/openapi/rpc-http/getEpochSchedule.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  description: >-
    API struktur waktu blockchain untuk mengambil parameter penjadwalan epoch
    Solana yang mengatur siklus konsensus, periode rotasi validator, dan
    pengaturan waktu jaringan.
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://mainnet.helius-rpc.com
    description: Titik akhir RPC Mainnet
  - url: https://devnet.helius-rpc.com
    description: Titik akhir RPC Devnet
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getEpochSchedule
      description: >
        Ambil parameter waktu inti yang menentukan struktur blockchain berbasis
        epoch Solana.

        API konfigurasi jaringan ini menyediakan konstanta waktu dasar yang
        mengatur cara

        slot disusun menjadi epoch di blockchain Solana. Epoch merupakan unit
        utama

        pengukuran waktu untuk rotasi validator, imbalan staking, pemungutan
        sewa, dan

        operasi blockchain berkala lainnya. Parameter jadwal epoch menentukan
        secara tepat

        jumlah slot yang membentuk sebuah epoch dan kapan jadwal pemimpin
        dihitung. Sangat penting bagi

        aplikasi yang melakukan perhitungan berbasis waktu, sistem staking yang
        melacak periode imbalan,

        perangkat lunak validator yang memprediksi jadwal pemimpin, dan alat
        analitik yang menghubungkan peristiwa blockchain

        dengan struktur waktu dasar jaringan.
      operationId: getEpochSchedule
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  description: Versi protokol JSON-RPC.
                  enum:
                    - '2.0'
                  example: '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: Pengidentifikasi unik untuk permintaan.
                  example: '1'
                  default: '1'
                method:
                  type: string
                  description: Nama metode RPC yang akan dipanggil.
                  enum:
                    - getEpochSchedule
                  example: getEpochSchedule
                  default: getEpochSchedule
      responses:
        '200':
          description: Informasi jadwal epoch berhasil diambil.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    description: Versi protokol JSON-RPC.
                    enum:
                      - '2.0'
                    example: '2.0'
                  id:
                    type: string
                    description: Pengidentifikasi yang cocok dengan permintaan.
                    example: '1'
                  result:
                    type: object
                    description: >-
                      Konstanta waktu lengkap yang menentukan struktur epoch
                      blockchain Solana.
                    properties:
                      slotsPerEpoch:
                        type: integer
                        description: >-
                          Jumlah slot yang membentuk satu epoch Solana lengkap
                          selama operasi normal (setelah periode pemanasan).
                        example: 8192
                      leaderScheduleSlotOffset:
                        type: integer
                        description: >-
                          Offset sebelum suatu epoch ketika jadwal pemimpin
                          validator untuk epoch berikutnya dihitung dan
                          dipublikasikan.
                        example: 8192
                      warmup:
                        type: boolean
                        description: >-
                          Nilai boolean yang menunjukkan apakah jaringan
                          menggunakan periode pemanasan dengan panjang epoch
                          yang meningkat secara bertahap saat genesis.
                        example: true
                      firstNormalEpoch:
                        type: integer
                        description: >-
                          Nomor epoch pertama yang mencapai panjang standar
                          penuh sebagaimana ditentukan oleh slotsPerEpoch.
                        example: 8
                      firstNormalSlot:
                        type: integer
                        description: >-
                          Nomor slot absolut ketika epoch mulai menggunakan
                          panjang standarnya setelah periode pemanasan awal.
                        example: 8160
              examples:
                response:
                  value:
                    jsonrpc: '2.0'
                    id: '1'
                    result:
                      slotsPerEpoch: 8192
                      leaderScheduleSlotOffset: 8192
                      warmup: true
                      firstNormalEpoch: 8
                      firstNormalSlot: 8160
        '400':
          description: >-
            Permintaan Buruk - Parameter permintaan tidak valid atau format
            permintaan salah.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: Parameter tidak valid
        '401':
          description: Tidak Diotorisasi - Kunci API tidak valid atau tidak ada.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: Tidak diotorisasi
        '429':
          description: Terlalu Banyak Permintaan - Batas laju terlampaui.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32005
                  message: Terlalu banyak permintaan
                id: '1'
        '500':
          description: Galat Server Internal - Terjadi galat pada server.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32603
                  message: Galat internal
                id: '1'
        '503':
          description: Layanan Tidak Tersedia - Layanan tidak tersedia untuk sementara.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32002
                  message: Layanan tidak tersedia
                id: '1'
        '504':
          description: Batas Waktu Gateway - Waktu permintaan habis.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32003
                  message: Waktu gateway habis
                id: '1'
      security:
        - ApiKeyQuery: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          description: Versi protokol JSON-RPC.
          enum:
            - '2.0'
          example: '2.0'
        error:
          type: object
          properties:
            code:
              type: integer
              description: Kode galat.
              example: -32602
            message:
              type: string
              description: Pesan galat.
            data:
              type: object
              description: Data tambahan tentang galat.
        id:
          type: string
          description: Pengidentifikasi yang cocok dengan permintaan.
          example: '1'
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        Kunci API Helius Anda. Anda dapat memperolehnya secara gratis di
        [dasbor](https://dashboard.helius.dev/api-keys).

````