> ## 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クレジット**がかかります。

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

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

<ParamField body="limit" type="number" default="50">
  返す転送の最大数
</ParamField>

<ParamField body="cursor" type="string">
  前回の応答からのページネーションクリカー
</ParamField>


## OpenAPI

````yaml ja/openapi/wallet-api/openapi.yaml GET /v1/wallet/{wallet}/transfers
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}/transfers:
    get:
      tags:
        - Transfers
      summary: Get token transfers
      description: >
        Retrieve all token transfer activity for a wallet including
        sender/recipient information.

        Returns transfers in reverse chronological order (newest first).
      operationId: getWalletTransfers
      parameters:
        - $ref: '#/components/parameters/WalletAddress'
        - name: limit
          in: query
          description: Maximum number of transfers to return
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - name: cursor
          in: query
          description: Pagination cursor from previous response
          schema:
            type: string
      responses:
        '200':
          description: Transfer history retrieved successfully
          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: Solanaウォレットアドレス（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: 取引シグネチャ
          example: 5wHu1qwD7Jsj3xqWjdSEJmYr3Q5f5RjXqjqQJ7jqEj7jqEj7jqEj7jqEj7jqEj7jqE
        timestamp:
          type: integer
          description: 秒単位のUnixタイムスタンプ
          example: 1704067200
        direction:
          type: string
          enum:
            - in
            - out
          description: ウォレットに対する転送の方向
          example: in
        counterparty:
          type: string
          description: 転送の他方（`in`の場合は送信者、`out`の場合は受信者）
          example: HXsKP7wrBWaQ8T2Vtjry3Nj3oUgwYcqq9vrHDM12G664
        mint:
          type: string
          description: トークンミントアドレス（SOLの場合はSo11111111111111111111111111111111111111112）
          example: So11111111111111111111111111111111111111112
        symbol:
          type: string
          nullable: true
          description: トークンシンボルが判明した場合
          example: SOL
        amount:
          type: number
          description: 転送金額（人間が読める形式、小数点で調整済み）
          example: 1.5
        amountRaw:
          type: string
          description: 最小単位での生の転送金額（SOLのラメポート、SPLトークンの場合は生のトークン金額）
          example: '1500000000'
        decimals:
          type: integer
          description: トークンの小数点以下の桁数
          example: 9
      required:
        - signature
        - timestamp
        - direction
        - counterparty
        - mint
        - amount
        - amountRaw
        - decimals
    Pagination:
      type: object
      properties:
        hasMore:
          type: boolean
          description: さらに結果が利用可能かどうか
          example: true
        nextCursor:
          type: string
          nullable: true
          description: 次のページの結果を取得するためのカーソル
          example: 5wHu1qwD7Jsj3xqWjdSEJmYr3Q5f5RjXqjqQJ7jqEj7jqEj7jqEj7jqEj7jqEj7jqE
      required:
        - hasMore
    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キー

````