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

> Trả về các giá trị lạm phát cụ thể cho epoch hiện tại.



## OpenAPI

````yaml vi/openapi/rpc-http/getInflationRate.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  description: >-
    API kinh tế học token để truy xuất các chỉ số lạm phát Solana hiện tại, bao
    gồm tổng tỷ lệ phát hành và phân bổ cho các trình xác thực cũng như Solana
    Foundation.
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://mainnet.helius-rpc.com
    description: Điểm cuối RPC Mainnet
  - url: https://devnet.helius-rpc.com
    description: Điểm cuối RPC Devnet
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getInflationRate
      description: >
        Truy xuất tỷ lệ lạm phát hiện tại của mạng Solana và cách phân bổ tỷ lệ
        này.

        API kinh tế học token này cung cấp thông tin chi tiết về chính sách tiền
        tệ của blockchain, 

        cho biết tỷ lệ lạm phát hằng năm hiện tại và cách các token SOL mới được
        tạo

        được phân phối giữa các trình xác thực (dưới dạng phần thưởng staking)
        và Solana Foundation.

        Solana áp dụng chính sách tiền tệ giảm lạm phát, trong đó lạm phát giảm
        dần

        theo thời gian từ mức ban đầu cho đến khi đạt mức ổn định dài hạn. API
        này rất cần thiết cho

        các nhà phân tích tài chính, nhà nghiên cứu kinh tế, công cụ tính toán
        staking, công cụ dự báo lợi suất

        và các ứng dụng cần tích hợp mô hình lạm phát của Solana vào dự báo
        doanh thu

        hoặc dự báo nguồn cung token.
      operationId: getInflationRate
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  description: Phiên bản giao thức JSON-RPC.
                  enum:
                    - '2.0'
                  example: '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: Mã định danh duy nhất cho yêu cầu.
                  example: '1'
                  default: '1'
                method:
                  type: string
                  description: Tên của phương thức RPC cần gọi.
                  enum:
                    - getInflationRate
                  example: getInflationRate
                  default: getInflationRate
      responses:
        '200':
          description: Đã truy xuất thành công thông tin về tỷ lệ lạm phát.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    description: Phiên bản giao thức JSON-RPC.
                    enum:
                      - '2.0'
                    example: '2.0'
                  id:
                    type: string
                    description: Mã định danh khớp với yêu cầu.
                    example: '1'
                  result:
                    type: object
                    description: >-
                      Thông tin phân tích chi tiết về các chỉ số lạm phát kinh
                      tế học token hiện tại của Solana.
                    properties:
                      total:
                        type: number
                        format: float
                        description: >-
                          Tổng tỷ lệ lạm phát hằng năm hiện tại trên toàn bộ
                          mạng Solana (định dạng thập phân, ví dụ: 0.08 = 8%).
                        example: 0.149
                      validator:
                        type: number
                        format: float
                        description: >-
                          Phần lạm phát được phân bổ cho phần thưởng staking của
                          trình xác thực và được phân phối cho các trình xác
                          thực cũng như người ủy quyền.
                        example: 0.148
                      foundation:
                        type: number
                        format: float
                        description: >-
                          Phần lạm phát được phân bổ cho Solana Foundation để
                          tiếp tục phát triển và mở rộng hệ sinh thái.
                        example: 0.001
                      epoch:
                        type: integer
                        description: >-
                          Số epoch Solana cụ thể mà các chỉ số tỷ lệ lạm phát
                          này áp dụng.
                        example: 100
        '400':
          description: >-
            Yêu cầu không hợp lệ - Tham số yêu cầu không hợp lệ hoặc yêu cầu có
            định dạng sai.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: Invalid params
                id: '1'
        '401':
          description: Không được phép - Khóa API không hợp lệ hoặc bị thiếu.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: Unauthorized
                id: '1'
        '429':
          description: Quá nhiều yêu cầu - Đã vượt quá giới hạn tốc độ.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32005
                  message: Too many requests
                id: '1'
        '500':
          description: Lỗi máy chủ nội bộ - Đã xảy ra lỗi trên máy chủ.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32603
                  message: Internal error
                id: '1'
        '503':
          description: Dịch vụ không khả dụng - Dịch vụ tạm thời không khả dụng.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32002
                  message: Service unavailable
                id: '1'
        '504':
          description: Hết thời gian chờ cổng kết nối - Yêu cầu đã hết thời gian chờ.
          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: Phiên bản giao thức JSON-RPC.
          enum:
            - '2.0'
          example: '2.0'
        error:
          type: object
          properties:
            code:
              type: integer
              description: Mã lỗi.
              example: -32602
            message:
              type: string
              description: Thông báo lỗi.
            data:
              type: object
              description: Dữ liệu bổ sung về lỗi.
        id:
          type: string
          description: Mã định danh khớp với yêu cầu.
          example: '1'
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        Khóa API Helius của bạn. Bạn có thể nhận khóa miễn phí trong [bảng điều
        khiển](https://dashboard.helius.dev/api-keys).

````