{
  "x402Version": 2,
  "id": 8394,
  "slug": "8394",
  "resource": "https://x402.outpimp.com/hsaGrowthCalculator",
  "description": "HSA (Health Savings Account) growth calculator. Projects year-by-year account balance from a starting value, annual contributions, annual expense withdrawals, and an annual return rate.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x548eFd4f4d4A5C3669dbb4CBB2B1A637FeeEc5F6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "APer2AbhckyMWyJanW2MZ2eRLcpL9Lmhks8rkmXfqjRG",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "annualContribution": 4000,
            "annualExpenses": 0,
            "annualReturnRate": 0.07,
            "startingValue": 5000,
            "years": 20
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "endingBalance": 183330.39159735557,
              "params": {
                "annualContribution": 4000,
                "annualExpenses": 0,
                "annualReturnRate": 0.07,
                "startingValue": 5000,
                "years": 20
              },
              "yearlyBalances": [
                9350,
                14004.5,
                18984.815000000002,
                24313.752050000003,
                30015.714693500006,
                36116.814722045005,
                42644.991752588154,
                49630.141175269324,
                57104.25105753818,
                65101.548631565856,
                73658.65703577547,
                82814.76302827976,
                92611.79644025935,
                103094.6221910775,
                114311.24574445294,
                126313.03294656465,
                139154.9452528242,
                152895.7914205219,
                167598.49681995847,
                183330.39159735557
              ]
            },
            "ok": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "annualContribution": {
                    "description": "Total annual contribution, including any employer contribution.",
                    "type": "number"
                  },
                  "annualExpenses": {
                    "description": "Annual withdrawals for medical expenses.",
                    "type": "number"
                  },
                  "annualReturnRate": {
                    "description": "Expected annual investment return, as a fraction.",
                    "type": "number"
                  },
                  "startingValue": {
                    "description": "Current HSA balance.",
                    "type": "number"
                  },
                  "years": {
                    "description": "Number of years to project (1-60).",
                    "type": "number"
                  }
                },
                "required": [
                  "startingValue",
                  "annualContribution",
                  "annualExpenses",
                  "annualReturnRate",
                  "years"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "x402_api_vendor",
        "s": [
          "cdp_sdk_server"
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "eip2612GasSponsoring": {},
    "erc20ApprovalGasSponsoring": {}
  },
  "tags": [
    "bazaar",
    "builder-code",
    "eip2612GasSponsoring",
    "erc20ApprovalGasSponsoring"
  ],
  "sourceHost": "x402.outpimp.com",
  "lastUpdated": "2026-08-30T22:18:08.359Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-30T22:18:08.173Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.outpimp.com",
    "manifest_name": "x402.outpimp.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}