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

# ウォレットの資金調達を取得

> どのアドレスがSolanaウォレットに初期SOLを入金したかを発見します。

各リクエストには**100クレジット**が必要です。

有料プランが必要です。フリープランのリクエストは`403 Forbidden`を返します。

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

<ParamField body="wallet" type="string" required default="86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY">
  Solanaウォレットアドレス（base58エンコード）
</ParamField>


## OpenAPI

````yaml ja/openapi/wallet-api/openapi.yaml GET /v1/wallet/{wallet}/funded-by
openapi: 3.0.3
info:
  title: Wallet API
  description: |
    Solanaのウォレットデータ（残高、取引履歴、転送、ID情報）を照会するための高性能なREST APIです。

    ## 認証

    すべてのリクエストには、以下のいずれかとして渡されたAPIキーが必要です:
    - クエリパラメータ: `?api-key=YOUR_API_KEY`
    - ヘッダー: `X-Api-Key: YOUR_API_KEY`
  version: 1.0.0
  contact:
    name: API サポート
    url: https://helius.dev
servers:
  - url: https://api.helius.xyz
    description: プロダクションサーバー
security:
  - ApiKeyQuery: []
  - ApiKeyHeader: []
tags:
  - name: Identity
    description: ウォレットIDと既知のアドレスを検索
  - name: Balances
    description: トークンとNFTの残高を照会
  - name: History
    description: 取引履歴と残高の変動
  - name: Transfers
    description: トークン転送の活動
  - name: Funding
    description: ウォレットの資金に関する情報
paths:
  /v1/wallet/{wallet}/funded-by:
    get:
      tags:
        - Funding
      summary: ウォレットの資金提供源を取得
      description: |
        最初の受信SOL転送を分析することによって、ウォレットの元の資金提供源を発見します。
        ウォレットが取引所や他のウォレットに資金提供されたかを特定するのに役立ちます。
      operationId: getWalletFundingSource
      parameters:
        - name: wallet
          in: path
          required: true
          description: Solanaウォレットアドレス（base58エンコードされた）
          schema:
            type: string
            pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
            default: 86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY
          example: 86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY
      responses:
        '200':
          description: 資金提供源が識別されました
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FundingSource'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: 資金提供トランザクションが見つかりませんでした
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    FundingSource:
      type: object
      properties:
        funder:
          type: string
          description: このウォレットに元々資金を提供したアドレス
          example: 2ojv9BAiHUrvsm9gxDe7fJSzbNZSJcxZvf8dqmWGHG8S
        funderName:
          type: string
          nullable: true
          description: 既知のエンティティの場合、資金提供者の名前
          example: Coinbase 2
        funderType:
          type: string
          nullable: true
          description: 資金提供者エンティティのタイプ
          example: exchange
        mint:
          type: string
          description: トークンミントアドレス（SOLの場合はSo11111111111111111111111111111111111111112）
          example: So11111111111111111111111111111111111111112
        symbol:
          type: string
          description: Token symbol
          example: SOL
        amount:
          type: number
          description: 初期資金金額（人間が読める形式、SOL単位）
          example: 0.05
        amountRaw:
          type: string
          description: 最小単位での生の資金金額（SOLの場合はラメポート）
          example: '50000000'
        decimals:
          type: integer
          description: トークンの小数点以下の桁数
          example: 9
        signature:
          type: string
          description: 資金提供転送の取引シグネチャ
          example: 5wHu1qwD7Jsj3xqWjdSEJmYr3Q5f5RjXqjqQJ7jqEj7jqEj7jqEj7jqEj7jqEj7jqE
        timestamp:
          type: integer
          description: 秒単位のUnixタイムスタンプ
          example: 1704067200
        date:
          type: string
          format: date-time
          description: ISO 8601形式での人間が読めるUTC日付
          example: '2024-01-01T00:00:00.000Z'
        slot:
          type: integer
          description: スロット番号
          example: 250000000
        explorerUrl:
          type: string
          description: トランザクションのSolana Explorer URL
          example: >-
            https://orbmarkets.io/tx/5wHu1qwD7Jsj3xqWjdSEJmYr3Q5f5RjXqjqQJ7jqEj7jqEj7jqEj7jqEj7jqEj7jqE
      required:
        - funder
        - mint
        - symbol
        - amount
        - amountRaw
        - decimals
        - signature
        - timestamp
        - date
        - slot
        - explorerUrl
    Error:
      type: object
      properties:
        error:
          type: string
          description: エラーメッセージ
          example: Invalid wallet address
        code:
          type: integer
          description: HTTPステータスコード
          example: 400
        details:
          type: string
          description: 追加のエラー詳細
          example: '''invalid-address'' is not a valid Solana address'
      required:
        - error
        - code
  responses:
    BadRequest:
      description: 無効なリクエストパラメータ
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Invalid wallet address
            code: 400
            details: '''invalid-address'' is not a valid Solana address'
    Unauthorized:
      description: APIキーが不足しているか無効です
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: API key required. Pass via ?api-key=xxx or X-Api-Key header
            code: 401
    RateLimited:
      description: レート制限が超過しました。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: RATE_LIMIT_EXCEEDED
            code: 429
            details: Too many requests. Retry after 2 seconds.
    InternalError:
      description: 一時的なサーバーエラー。指数バックオフで再試行可能です。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: INTERNAL_ERROR
            code: 500
            details: An unexpected error occurred. Please retry.
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: クエリパラメータとして渡されるAPIキー
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-Api-Key
      description: リクエストヘッダーで渡されるAPIキー

````