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

# getRecentPrioritizationFees

> 最近のブロックから優先手数料のリストを返します。



## OpenAPI

````yaml ja/openapi/rpc-http/getRecentPrioritizationFees.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: getRecentPrioritizationFees
      description: >
        Solanaネットワークでトランザクションによって支払われた最近の優先手数料レベルを取得します。

        この動的手数料市場APIは、トランザクション価格設定のトレンドについての洞察を提供し、

        ネットワーク混雑時に最適な手数料を決定するのに役立ちます。直近のブロックでコンピュートユニットごとに支払われた手数料の履歴データを返します。

        特定のアカウントへの書き込みによってフィルタリングすることも可能です。ウォレット、取引所、

        現行のネットワーク状態と手数料市場のダイナミクスに基づいて競争力のある手数料レベルを設定することで、トランザクションの迅速な確認を確実にする必要があるDAppsにとって不可欠です。
      operationId: getRecentPrioritizationFees
      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:
                    - getRecentPrioritizationFees
                  example: getRecentPrioritizationFees
                  default: getRecentPrioritizationFees
                params:
                  type: array
                  description: 省略可能なアカウントアドレスの配列。
                  items:
                    type: array
                    description: 最大128のアカウントアドレスの配列で、base-58でエンコードされた文字列。
                    items:
                      type: string
                      description: このアカウントへの書き込みを含む優先手数料をフィルタリングするための特定のSolanaアカウントアドレス。
                      example: CxELquR1gPP8wHe33gZ4QxqGB3sZ9RSwsJ2KshVewkFY
      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:
                      type: object
                      description: 特定のスロットにおける優先手数料の詳細。
                      properties:
                        slot:
                          type: integer
                          description: これらの優先手数料レベルが観測されたSolanaブロックチェーンのスロット番号。
                          example: 348125
                        prioritizationFee:
                          type: integer
                          description: >-
                            このスロットでトランザクションによって支払われたコンピュートユニットあたりの優先手数料率（マイクロラメポート）。
                          example: 1234
        '400':
          description: 不正なリクエスト - リクエストパラメータが無効またはリクエストが不正です。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: パラメータが無効です
                id: '1'
        '401':
          description: 認証エラー - APIキーが無効または不足しています。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: 認証されていません
                id: '1'
        '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キー。無料で[dashboard](https://dashboard.helius.dev/api-keys)から取得できます。

````