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

# getInflationReward

> 指定されたアドレスのリストに対して、エポックのインフレーション/ステーキング報酬を返します。

## リクエストパラメータ

<ParamField body="address" type="array" required>
  ステーキング報酬を取得するためのSolanaアドレスのリスト（バリデータまたはデリゲーター）を、base-58エンコードされた文字列として指定します。
</ParamField>

<ParamField body="commitment" type="string">
  リクエストのコミットメントレベル。

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

<ParamField body="epoch" type="number">
  報酬を取得する特定のSolanaのエポック番号です。省略された場合、最も最近分配された報酬を返します。
</ParamField>

<ParamField body="minContextSlot" type="number">
  リクエストが評価される最小のスロット。
</ParamField>


## OpenAPI

````yaml ja/openapi/rpc-http/getInflationReward.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: Mainnet RPCエンドポイント
  - url: https://devnet.helius-rpc.com
    description: Devnet RPCエンドポイント
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getInflationReward
      description: >-
        Solanaバリデーターおよびデリゲーターアカウントの詳細なステーキング報酬情報を取得します。この重要なステーキングAPIは、指定されたアカウントに配布されたSOL報酬に関する正確なデータを提供します。

        これらのインフレーションベースの報酬は、Solanaのプルーフ・オブ・ステークコンセンサスにバリデーターとして直接、またはデリゲーターとして間接的に参加することで得られる収益を表します。正確なステーキング収益計算のための報酬額、コミッション率、ポストバランスデータ、タイミング情報を返します。ステーキングダッシュボード、収益トラッカー、ウォレットアプリケーション、税報告ツール、Solanaステーキング活動からのリターンを追跡するサービスにとって重要です。
      operationId: getInflationReward
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
              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:
                    - getInflationReward
                  example: getInflationReward
                  default: getInflationReward
                params:
                  type: array
                  description: メソッドのパラメータ。
                  default:
                    - - 6dmNQ5jwLeLk5REvio1JcMshcbvkYMwy26sJ8pbkvStu
                  items:
                    oneOf:
                      - type: array
                        description: >-
                          ベース58エンコードされた文字列として、ステーキング報酬を取得するためのSolanaアドレス（バリデーターまたはデリゲーター）のリスト。
                        items:
                          type: string
                        example:
                          - 6dmNQ5jwLeLk5REvio1JcMshcbvkYMwy26sJ8pbkvStu
                          - BGsqMegLpV6n6Ve146sSX2dTjUMj3M92HnU8BbNRMhF2
                      - type: object
                        description: オプションのパラメータを含む構成オブジェクト。
                        properties:
                          commitment:
                            type: string
                            description: リクエストのコミットメントレベル。
                            enum:
                              - confirmed
                              - finalized
                            example: finalized
                          epoch:
                            type: integer
                            description: >-
                              Specific Solana epoch number to retrieve rewards
                              for. If omitted, returns the most recently
                              distributed rewards.
                            example: 2
                          minContextSlot:
                            type: integer
                            description: >-
                              The minimum slot that the request can be evaluated
                              at.
                            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: '1'
                  result:
                    type: array
                    description: 要求された各アカウントの詳細なステーキング報酬情報の配列。リクエストされた順序で。
                    items:
                      oneOf:
                        - type: object
                          description: このアカウントのSolanaステーキング報酬の詳細。
                          properties:
                            epoch:
                              type: integer
                              description: これらのステーキング報酬が配布されたSolanaエポック番号。
                              example: 2
                            effectiveSlot:
                              type: integer
                              description: これらの報酬が計算され有効になった特定のブロックチェーンスロット。
                              example: 224
                            amount:
                              type: integer
                              description: >-
                                このアカウントが獲得したラメポートでのステーキング報酬額（1 SOL =
                                1,000,000,000ラメポート）。
                              example: 2500
                            postBalance:
                              type: integer
                              description: このステーキング報酬がクレジットされた後のアカウント残高（ラメポート単位）。
                              example: 499999442500
                            commission:
                              type: integer
                              description: >-
                                デリゲーターの報酬から差し引かれるバリデーターのコミッション率（デリゲーターアカウントの場合はnull、バリデーターの場合は0-100）。
                              nullable: true
                              example: 5
                        - type: 'null'
                          description: 指定されたエポック中にこのアカウントがステーキング報酬を受け取らなかった場合はnull。
                          example: null
        '400':
          description: Bad Request - 無効なリクエストパラメータまたは不正なリクエスト。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: Invalid params
                id: '1'
        '401':
          description: Unauthorized - 無効または欠落しているAPIキー。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: Unauthorized
                id: '1'
        '429':
          description: Too Many Requests - レート制限オーバー。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32005
                  message: Too many requests
                id: '1'
        '500':
          description: Internal Server Error - サーバーでエラーが発生しました。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32603
                  message: Internal error
                id: '1'
        '503':
          description: Service Unavailable - サービスが一時的に利用できません。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32002
                  message: Service unavailable
                id: '1'
        '504':
          description: Gateway Timeout - リクエストのタイムアウト。
          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: 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キーを指定します。[dashboard](https://dashboard.helius.dev/api-keys)で無料で取得できます。

````