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

# Dapatkan Pendanaan Dompet

> Temukan alamat yang mendanai dompet Solana dengan setoran SOL awalnya.

Setiap permintaan dikenai biaya **100 kredit**.

Memerlukan paket berbayar. Permintaan pada paket gratis akan menampilkan `403 Forbidden`.

## Parameter Permintaan

<ParamField body="wallet" type="string" required default="86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY">
  Alamat dompet Solana (dikodekan dengan base58)
</ParamField>


## OpenAPI

````yaml id/openapi/wallet-api/openapi.yaml GET /v1/wallet/{wallet}/funded-by
openapi: 3.0.3
info:
  title: Wallet API
  description: >
    REST API berkinerja tinggi untuk mengkueri data dompet Solana, termasuk
    saldo, riwayat transaksi, transfer, dan informasi identitas.


    ## Autentikasi


    Semua permintaan memerlukan kunci API yang diteruskan sebagai:

    - Parameter kueri: `?api-key=YOUR_API_KEY`

    - Header: `X-Api-Key: YOUR_API_KEY`
  version: 1.0.0
  contact:
    name: Dukungan API
    url: https://helius.dev
servers:
  - url: https://api.helius.xyz
    description: Server produksi
security:
  - ApiKeyQuery: []
  - ApiKeyHeader: []
tags:
  - name: Identitas
    description: Cari identitas dompet dan alamat yang dikenal
  - name: Saldo
    description: Kueri saldo token dan NFT
  - name: Riwayat
    description: Riwayat transaksi dan perubahan saldo
  - name: Transfer
    description: Aktivitas transfer token
  - name: Pendanaan
    description: Informasi pendanaan dompet
paths:
  /v1/wallet/{wallet}/funded-by:
    get:
      tags:
        - Pendanaan
      summary: Dapatkan sumber pendanaan dompet
      description: >
        Temukan sumber pendanaan awal suatu dompet dengan menganalisis transfer
        SOL masuk pertamanya.

        Berguna untuk mengidentifikasi apakah dompet didanai oleh bursa, dompet
        lain, dan sebagainya.
      operationId: getWalletFundingSource
      parameters:
        - name: wallet
          in: path
          required: true
          description: Alamat dompet Solana (dikodekan dengan base58)
          schema:
            type: string
            pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
            default: 86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY
          example: 86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY
      responses:
        '200':
          description: Sumber pendanaan berhasil diidentifikasi
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FundingSource'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Transaksi pendanaan tidak ditemukan
          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: Alamat yang awalnya mendanai dompet ini
          example: 2ojv9BAiHUrvsm9gxDe7fJSzbNZSJcxZvf8dqmWGHG8S
        funderName:
          type: string
          nullable: true
          description: Nama pemberi dana jika merupakan entitas yang dikenal
          example: Coinbase 2
        funderType:
          type: string
          nullable: true
          description: Jenis entitas pemberi dana
          example: exchange
        mint:
          type: string
          description: >-
            Alamat mint token (So11111111111111111111111111111111111111112 untuk
            SOL)
          example: So11111111111111111111111111111111111111112
        symbol:
          type: string
          description: Simbol token
          example: SOL
        amount:
          type: number
          description: Jumlah pendanaan awal (mudah dibaca, dalam SOL)
          example: 0.05
        amountRaw:
          type: string
          description: Jumlah pendanaan mentah dalam unit terkecil (lamport untuk SOL)
          example: '50000000'
        decimals:
          type: integer
          description: Jumlah desimal token
          example: 9
        signature:
          type: string
          description: Tanda tangan transaksi transfer pendanaan
          example: 5wHu1qwD7Jsj3xqWjdSEJmYr3Q5f5RjXqjqQJ7jqEj7jqEj7jqEj7jqEj7jqEj7jqE
        timestamp:
          type: integer
          description: Stempel waktu Unix dalam detik
          example: 1704067200
        date:
          type: string
          format: date-time
          description: Tanggal UTC yang mudah dibaca dalam format ISO 8601
          example: '2024-01-01T00:00:00.000Z'
        slot:
          type: integer
          description: Nomor slot
          example: 250000000
        explorerUrl:
          type: string
          description: URL Solana Explorer untuk transaksi
          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: Pesan kesalahan
          example: Alamat dompet tidak valid
        code:
          type: integer
          description: Kode status HTTP
          example: 400
        details:
          type: string
          description: Detail kesalahan tambahan
          example: '''invalid-address'' bukan alamat Solana yang valid'
      required:
        - error
        - code
  responses:
    BadRequest:
      description: Parameter permintaan tidak valid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Alamat dompet tidak valid
            code: 400
            details: '''invalid-address'' bukan alamat Solana yang valid'
    Unauthorized:
      description: Kunci API tidak ada atau tidak valid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: >-
              Kunci API diperlukan. Teruskan melalui ?api-key=xxx atau header
              X-Api-Key
            code: 401
    RateLimited:
      description: Batas laju terlampaui.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: RATE_LIMIT_EXCEEDED
            code: 429
            details: Terlalu banyak permintaan. Coba lagi setelah 2 detik.
    InternalError:
      description: >-
        Kesalahan server sementara. Dapat dicoba ulang dengan backoff
        eksponensial.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: INTERNAL_ERROR
            code: 500
            details: Terjadi kesalahan yang tidak terduga. Silakan coba lagi.
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: Kunci API yang diteruskan sebagai parameter kueri
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-Api-Key
      description: Kunci API yang diteruskan dalam header permintaan

````