> ## 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 Transfer Dompet

> Ambil semua transfer token dan SOL untuk alamat dompet Solana dengan paginasi.

Setiap permintaan dikenai biaya **100 kredit**.

## Parameter Permintaan

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

<ParamField body="limit" type="number" default="50">
  Jumlah maksimum transfer yang akan dikembalikan
</ParamField>

<ParamField body="cursor" type="string">
  Kursor paginasi dari respons sebelumnya
</ParamField>


## OpenAPI

````yaml id/openapi/wallet-api/openapi.yaml GET /v1/wallet/{wallet}/transfers
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}/transfers:
    get:
      tags:
        - Transfer
      summary: Dapatkan transfer token
      description: >
        Ambil semua aktivitas transfer token untuk suatu dompet, termasuk
        informasi pengirim/penerima.

        Mengembalikan transfer dalam urutan kronologis terbalik (terbaru
        terlebih dahulu).
      operationId: getWalletTransfers
      parameters:
        - $ref: '#/components/parameters/WalletAddress'
        - name: limit
          in: query
          description: Jumlah maksimum transfer yang dikembalikan
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - name: cursor
          in: query
          description: Kursor paginasi dari respons sebelumnya
          schema:
            type: string
      responses:
        '200':
          description: Riwayat transfer berhasil diambil
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransfersResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  parameters:
    WalletAddress:
      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: GQUtvPx89ZNCwmvQqFmH59bJcU8fW8siETpaxod7Aydz
      example: GQUtvPx89ZNCwmvQqFmH59bJcU8fW8siETpaxod7Aydz
  schemas:
    TransfersResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Transfer'
        pagination:
          $ref: '#/components/schemas/Pagination'
      required:
        - data
        - pagination
    Transfer:
      type: object
      properties:
        signature:
          type: string
          description: Tanda tangan transaksi
          example: 5wHu1qwD7Jsj3xqWjdSEJmYr3Q5f5RjXqjqQJ7jqEj7jqEj7jqEj7jqEj7jqEj7jqE
        timestamp:
          type: integer
          description: Stempel waktu Unix dalam detik
          example: 1704067200
        direction:
          type: string
          enum:
            - in
            - out
          description: Arah transfer relatif terhadap dompet
          example: in
        counterparty:
          type: string
          description: Pihak lain dalam transfer (pengirim jika 'in', penerima jika 'out')
          example: HXsKP7wrBWaQ8T2Vtjry3Nj3oUgwYcqq9vrHDM12G664
        mint:
          type: string
          description: >-
            Alamat mint token (So11111111111111111111111111111111111111112 untuk
            SOL)
          example: So11111111111111111111111111111111111111112
        symbol:
          type: string
          nullable: true
          description: Simbol token jika diketahui
          example: SOL
        amount:
          type: number
          description: Jumlah transfer (mudah dibaca, dibagi berdasarkan jumlah desimal)
          example: 1.5
        amountRaw:
          type: string
          description: >-
            Jumlah transfer mentah dalam unit terkecil (lamport untuk SOL,
            jumlah token mentah untuk token SPL)
          example: '1500000000'
        decimals:
          type: integer
          description: Jumlah desimal token
          example: 9
      required:
        - signature
        - timestamp
        - direction
        - counterparty
        - mint
        - amount
        - amountRaw
        - decimals
    Pagination:
      type: object
      properties:
        hasMore:
          type: boolean
          description: Apakah tersedia hasil lainnya
          example: true
        nextCursor:
          type: string
          nullable: true
          description: Kursor untuk mengambil halaman hasil berikutnya
          example: 5wHu1qwD7Jsj3xqWjdSEJmYr3Q5f5RjXqjqQJ7jqEj7jqEj7jqEj7jqEj7jqEj7jqE
      required:
        - hasMore
    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

````