> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstream.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ウォレット - 純資産

> 価格付きの全トークン保有量を含むウォレットの現在の純資産を取得



## OpenAPI

````yaml /jp/api-reference/openapi-data-jp.yaml GET /v2/wallet/{chain}/{walletAddress}/net-worth
openapi: 3.1.0
info:
  title: Services API
  description: Services API
  contact:
    name: AI
    email: ai@sx.ai
  license:
    name: MIT
  version: '1.0'
servers:
  - url: https://api.chainstream.io
    description: Production
security:
  - bearer_auth: []
  - api_key_auth: []
tags:
  - name: Blockchain
    description: ブロックチェーン関連の操作
  - name: Token
    description: トークン関連の操作
  - name: Trade
    description: 取引関連の操作
  - name: Wallet
    description: ウォレット関連の操作
  - name: Dex
    description: DEX 関連の操作
  - name: Ranking
    description: ランキング関連の操作
  - name: DexPool
    description: DEX プール関連の操作
  - name: Watchlist
    description: ウォッチリスト関連の操作
  - name: KYT
    description: KYT 関連の操作
  - name: Webhook
    description: Webhook 関連の操作
  - name: RedPacket
    description: レッドパケット関連の操作
  - name: IPFS
    description: IPFS 関連の操作
  - name: DexScreener
    description: DexScreener 関連の操作
paths:
  /v2/wallet/{chain}/{walletAddress}/net-worth:
    get:
      tags:
        - Wallet
      summary: ウォレット - 純資産
      description: 価格付きの全トークン保有量を含むウォレットの現在の純資産を取得
      operationId: get.net.worth
      parameters:
        - name: chain
          in: path
          description: サポートされているネットワークに記載されているチェーン名
          required: true
          schema:
            $ref: '#/components/schemas/ChainSymbol'
          example: sol
        - name: walletAddress
          in: path
          description: ウォレットのアドレス
          required: true
          schema:
            type: string
          example: 3xd4LGVWtYXLBspR6X5JWbW49NXmEehfPtX6Kqx98b4w
        - name: cursor
          in: query
          description: ページネーションカーソル
          required: false
          schema:
            type: string
          example: eyJpZCI6IjEyMyJ9
        - name: limit
          in: query
          description: ページあたりの結果数
          required: false
          schema:
            type: integer
            format: int64
            default: 20
          example: 20
        - name: direction
          in: query
          description: ページネーション方向（next または prev）
          required: false
          schema:
            oneOf:
              - $ref: '#/components/schemas/PageDirection'
            default: next
          example: next
      responses:
        '200':
          description: 成功レスポンス
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletNetWorthPage'
components:
  schemas:
    ChainSymbol:
      type: string
      description: Supported blockchain chains
      enum:
        - sol
        - eth
        - bsc
    PageDirection:
      type: string
      description: Pagination direction
      enum:
        - next
        - prev
    WalletNetWorthPage:
      type: object
      description: Paginated wallet net-worth page (mirrors TS WalletNetWorthPage).
      required:
        - walletAddress
        - totalValueInUsd
        - totalValueInNative
        - currentTimestamp
        - data
      properties:
        currentTimestamp:
          type: string
          description: 現在のサーバータイムスタンプ
          example: '2025-10-30T03:33:40.980Z'
        data:
          type: array
          items:
            $ref: '#/components/schemas/NetWorthByTokensItem'
          description: トークン別純資産アイテムリスト
        endCursor:
          type:
            - string
            - 'null'
          description: 現在のページの終了カーソル
          example: eyJpZCI6ImVuZCJ9
        hasNext:
          type: boolean
          description: 次のページがあるかどうか
          example: false
        hasPrev:
          type: boolean
          description: 前のページがあるかどうか
          example: false
        startCursor:
          type:
            - string
            - 'null'
          description: 現在のページの開始カーソル
          example: eyJpZCI6InN0YXJ0In0=
        totalValueInNative:
          type: string
          description: ネイティブトークン建てのポートフォリオ合計額
          example: '82.31'
        totalValueInUsd:
          type: string
          description: USD建てのポートフォリオ合計額
          example: '12345.67'
        walletAddress:
          type: string
          description: ウォレットアドレス
          example: 3xd4LGVWtYXLBspR6X5JWbW49NXmEehfPtX6Kqx98b4w
    NetWorthByTokensItem:
      type: object
      description: Single token net-worth item (mirrors TS WalletNetWorthItemDTO).
      required:
        - tokenAddress
        - decimals
        - priceInUsd
        - priceInNative
        - amount
        - valueInUsd
        - valueInNative
        - chain
        - name
        - symbol
        - isActive
      properties:
        accuAmount:
          type:
            - string
            - 'null'
          description: >-
            Accumulated net token position in token native units:

            buy_amount - sell_amount + transfer_in_amount - transfer_out_amount.

            Mirrors GMGN `accu_amount`. None when all four source fields are
            absent.
        amount:
          type: string
          description: トークン保有量
          example: '1000.50'
        avgCostUsd:
          type:
            - string
            - 'null'
          description: >-
            Average cost per token in USD (balance_cost_avg_in_usd; sparse ~0.2%
            fill rate)
        chain:
          type: string
          description: ブロックチェーンネットワーク識別子
          example: sol
        decimals:
          type: integer
          format: int32
          description: トークンの小数点以下桁数
          example: 6
        isActive:
          type: boolean
          description: Whether the wallet currently holds a non-zero balance
        lastActiveAt:
          type:
            - integer
            - 'null'
          format: int64
          description: Last active timestamp (ms since epoch)
        logoUri:
          type:
            - string
            - 'null'
          description: トークンロゴ URI
          example: https://s1.chainstream.io/tokens/images/usdc.webp
        name:
          type: string
          description: トークンの表示名
          example: USD Coin
        priceInNative:
          type: string
          description: ネイティブトークン建てのトークン価格
          example: '0.00000667'
        priceInUsd:
          type: string
          description: USD建てのトークン価格
          example: '1.0001'
        realizedPnlInUsd:
          type:
            - string
            - 'null'
          description: Realized PnL in USD (all-time cumulative)
        symbol:
          type: string
          description: トークンのティッカーシンボル
          example: USDC
        tokenAddress:
          type: string
          description: トークンコントラクトアドレス
          example: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
        unrealizedPnlInUsd:
          type:
            - string
            - 'null'
          description: Unrealized PnL in USD (current open position)
        valueInNative:
          type: string
          description: ネイティブトークン建ての保有額
          example: '6.67'
        valueInUsd:
          type: string
          description: USD建ての保有額
          example: '1000.60'
        walletTokenTags:
          type: array
          items:
            type: string
          description: Trader classification tags
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    api_key_auth:
      type: apiKey
      in: header
      name: X-API-KEY

````