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

# getInflationRate

> Mengembalikan nilai inflasi spesifik untuk epoch saat ini.



## OpenAPI

````yaml id/openapi/rpc-http/getInflationRate.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  description: >-
    API ekonomi token untuk mengambil metrik inflasi Solana saat ini, termasuk
    tingkat penerbitan total dan alokasi distribusi antara validator dan
    yayasan.
  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: getInflationRate
      description: >
        Mengambil tingkat inflasi jaringan Solana saat ini beserta alokasi
        distribusinya.

        API tokenomik ini menyediakan detail tentang kebijakan moneter
        blockchain, 

        menampilkan tingkat inflasi tahunan saat ini dan cara token SOL yang
        baru dibuat

        didistribusikan antara validator (sebagai imbalan staking) dan Solana
        Foundation.

        Solana menerapkan kebijakan moneter disinflasioner, yaitu inflasi
        menurun secara bertahap

        dari tingkat awalnya hingga mencapai tingkat stabil jangka panjang. API
        ini penting bagi

        analis keuangan, peneliti ekonomi, kalkulator staking, alat proyeksi
        imbal hasil,

        dan aplikasi yang perlu memasukkan model inflasi Solana ke dalam
        perkiraan pendapatan

        atau proyeksi pasokan token.
      operationId: getInflationRate
      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:
                    - getInflationRate
                  example: getInflationRate
                  default: getInflationRate
      responses:
        '200':
          description: Informasi tingkat inflasi 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 sesuai dengan permintaan.
                    example: '1'
                  result:
                    type: object
                    description: >-
                      Perincian mendetail tentang metrik inflasi tokenomik
                      Solana saat ini.
                    properties:
                      total:
                        type: number
                        format: float
                        description: >-
                          Tingkat inflasi tahunan total saat ini di seluruh
                          jaringan Solana (format desimal, misalnya 0,08 = 8%).
                        example: 0.149
                      validator:
                        type: number
                        format: float
                        description: >-
                          Porsi inflasi yang dialokasikan untuk imbalan staking
                          validator yang didistribusikan kepada validator dan
                          delegator.
                        example: 0.148
                      foundation:
                        type: number
                        format: float
                        description: >-
                          Porsi inflasi yang dialokasikan kepada Solana
                          Foundation untuk pengembangan berkelanjutan dan
                          pertumbuhan ekosistem.
                        example: 0.001
                      epoch:
                        type: integer
                        description: >-
                          Nomor epoch Solana tertentu yang menjadi cakupan
                          metrik tingkat inflasi ini.
                        example: 100
        '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: Invalid params
                id: '1'
        '401':
          description: Tidak Terotorisasi - Kunci API tidak valid atau tidak ada.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: Unauthorized
                id: '1'
        '429':
          description: Terlalu Banyak Permintaan - Batas laju terlampaui.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32005
                  message: Too many requests
                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: Internal error
                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: Service unavailable
                id: '1'
        '504':
          description: Waktu Tunggu Gateway Habis - Waktu permintaan habis.
          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
          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 sesuai 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).

````