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

# getMinimumBalanceForRentExemption

> アカウントを家賃免除にするために必要な最小残高を返します。

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

<ParamField body="address" type="number" required>
  Solana ブロックチェーン上に格納するアカウントデータのサイズ（バイト単位）。
</ParamField>

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

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


## OpenAPI

````yaml ja/openapi/rpc-http/getMinimumBalanceForRentExemption.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  description: データサイズ要件に基づいて、Solanaアカウントが賃料免除されるために必要な最小SOL残高を決定するためのアカウントストレージコスト計算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: デブネットRPCエンドポイント
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getMinimumBalanceForRentExemption
      description: >
        Solanaアカウントを永久に賃料免除状態にするために必要な最小SOL残高を計算します。

        この重要な経済APIは、再発する賃料費用を避けるためにデータサイズに基づいて、アカウントに割り当てる必要がある正確なSOL量を決定するのに役立ちます。この最小バランスを維持するアカウントは、ネットワークのストレージ賃料の料金から免除され、ブロックチェーン上での長期的な持続性を保証します。ウォレット開発者、DAppビルダー、およびオンチェーンアカウントを作成するアプリケーションにとって、アカウント作成コストを正確に見積もり、意図するストレージ要件に基づいて新しいアカウントに適切に資金を提供することが重要です。
      operationId: getMinimumBalanceForRentExemption
      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:
                    - getMinimumBalanceForRentExemption
                  example: getMinimumBalanceForRentExemption
                  default: getMinimumBalanceForRentExemption
                params:
                  type: array
                  description: メソッドのパラメータ。
                  default:
                    - 50
                  items:
                    oneOf:
                      - type: integer
                        description: Solanaブロックチェーンに保存する必要があるアカウントデータのサイズ（バイト単位）。
                        example: 50
                      - type: object
                        description: 追加オプションを備えた設定オブジェクト。
                        properties:
                          commitment:
                            type: string
                            description: リクエストのコミットメントレベル。
                            enum:
                              - confirmed
                              - finalized
                              - processed
                            example: finalized
      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: integer
                    description: このデータサイズでアカウントを永久に賃料免除状態にするために必要なラマポーツ単位の最小SOL残高。
                    example: 500
        '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キー。
        [ダッシュボード](https://dashboard.helius.dev/api-keys)で無料で取得できます。

````