> ## 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 /zh-Hant/api-reference/openapi-data-zh-Hant.yaml GET /v2/wallet/{chain}/{walletAddress}/net-worth-chart
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-chart:
    get:
      tags:
        - Wallet
      summary: 錢包 - 淨值圖表
      description: 取得錢包歷史淨值圖表資料，按小時快照
      operationId: get.net.worth.chart
      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: hours
          in: query
          description: 時間範圍（小時，1-720，預設 24）
          required: false
          schema:
            type: integer
            format: int32
            default: 24
          example: 24
      responses:
        '200':
          description: 成功回應
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletNetWorthChartResponse'
components:
  schemas:
    ChainSymbol:
      type: string
      description: Supported blockchain chains
      enum:
        - sol
        - eth
        - bsc
    WalletNetWorthChartResponse:
      type: object
      description: Wallet net-worth chart response with pagination.
      required:
        - walletAddress
        - currentTimestamp
        - pastTimestamp
        - history
      properties:
        currentTimestamp:
          type: string
          description: 目前伺服器時間戳
          example: '2025-07-31T23:59:59.000Z'
        history:
          type: array
          items:
            $ref: '#/components/schemas/NetWorthHistoryItem'
          description: 歷史淨值資料點列表
        pastTimestamp:
          type: string
          description: 圖表週期起始時間戳
          example: '2025-07-01T23:59:59.000Z'
        walletAddress:
          type: string
          description: 錢包地址
          example: 3xd4LGVWtYXLBspR6X5JWbW49NXmEehfPtX6Kqx98b4w
    NetWorthHistoryItem:
      type: object
      description: Single data point in a net-worth chart time series.
      required:
        - timestamp
        - netWorth
        - netWorthChange
        - netWorthChangePercent
      properties:
        netWorth:
          type: string
          description: 淨值（USD 計）
          example: '13210463.21'
        netWorthChange:
          type: string
          description: 淨值變動量（對比上一快照）
          example: '1971274.94'
        netWorthChangePercent:
          type: string
          description: 淨值變動百分比
          example: '17.54'
        timestamp:
          type: string
          description: 快照時間戳
          example: '2025-07-30T23:59:59.000Z'
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    api_key_auth:
      type: apiKey
      in: header
      name: X-API-KEY

````