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

# Wallet - Net Worth Details

> Get detailed net worth breakdown for a wallet, supporting both real-time and historical snapshots



## OpenAPI

````yaml /en/api-reference/openapi-data-en.yaml GET /v2/wallet/{chain}/{walletAddress}/net-worth-details
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: Blockchain related operations
  - name: Token
    description: Token related operations
  - name: Trade
    description: Trade related operations
  - name: Wallet
    description: Wallet related operations
  - name: Dex
    description: Dex related operations
  - name: Ranking
    description: Ranking related operations
  - name: DexPool
    description: DexPool related operations
  - name: Watchlist
    description: Watchlist related operations
  - name: KYT
    description: Kyt related operations
  - name: Webhook
    description: Webhook related operations
  - name: RedPacket
    description: Redpacket related operations
  - name: IPFS
    description: Ipfs related operations
  - name: DexScreener
    description: DexScreener related operations
paths:
  /v2/wallet/{chain}/{walletAddress}/net-worth-details:
    get:
      tags:
        - Wallet
      summary: Wallet - Net Worth Details
      description: >-
        Get detailed net worth breakdown for a wallet, supporting both real-time
        and historical snapshots
      operationId: get.net.worth.details
      parameters:
        - name: chain
          in: path
          description: A chain name listed in supported networks
          required: true
          schema:
            $ref: '#/components/schemas/ChainSymbol'
          example: sol
        - name: walletAddress
          in: path
          description: An address of a wallet
          required: true
          schema:
            type: string
          example: 3xd4LGVWtYXLBspR6X5JWbW49NXmEehfPtX6Kqx98b4w
        - name: cursor
          in: query
          description: Pagination cursor
          required: false
          schema:
            type: string
          example: eyJpZCI6IjEyMyJ9
        - name: limit
          in: query
          description: Number of results per page
          required: false
          schema:
            type: integer
            format: int64
            default: 20
          example: 20
        - name: direction
          in: query
          description: Pagination direction (next or prev)
          required: false
          schema:
            oneOf:
              - $ref: '#/components/schemas/PageDirection'
            default: next
          example: next
        - name: hours
          in: query
          description: Snapshot hours (0=realtime, 1-720=historical, default 0)
          required: false
          schema:
            type: integer
            format: int32
            default: 0
          example: 0
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletNetWorthDetailsPage'
components:
  schemas:
    ChainSymbol:
      type: string
      description: Supported blockchain chains
      enum:
        - sol
        - eth
        - bsc
    PageDirection:
      type: string
      description: Pagination direction
      enum:
        - next
        - prev
    WalletNetWorthDetailsPage:
      type: object
      description: >-
        Paginated wallet net-worth details (mirrors TS
        WalletNetWorthDetailsPage).
      required:
        - walletAddress
        - netWorth
        - requestedTimestamp
        - resolvedTimestamp
        - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/NetWorthByTokensItem'
          description: List of token net-worth items
        endCursor:
          type:
            - string
            - 'null'
          description: Cursor for the end of current page
          example: eyJpZCI6ImVuZCJ9
        hasNext:
          type: boolean
          description: Whether there is a next page
          example: false
        hasPrev:
          type: boolean
          description: Whether there is a previous page
          example: false
        netWorth:
          type: string
          description: Net worth value in USD
          example: '11839478.53162622'
        requestedTimestamp:
          type: string
          description: Requested snapshot timestamp
          example: '2025-07-31T04:50:06.303Z'
        resolvedTimestamp:
          type: string
          description: Actual resolved snapshot timestamp
          example: '2025-07-31T04:50:06.475Z'
        startCursor:
          type:
            - string
            - 'null'
          description: Cursor for the start of current page
          example: eyJpZCI6InN0YXJ0In0=
        walletAddress:
          type: string
          description: Wallet address
          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: Token holding amount
          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: Blockchain network identifier
          example: sol
        decimals:
          type: integer
          format: int32
          description: Token decimal places
          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: Token logo URI
          example: https://s1.chainstream.io/tokens/images/usdc.webp
        name:
          type: string
          description: Token display name
          example: USD Coin
        priceInNative:
          type: string
          description: Token price in native token
          example: '0.00000667'
        priceInUsd:
          type: string
          description: Token price in USD
          example: '1.0001'
        realizedPnlInUsd:
          type:
            - string
            - 'null'
          description: Realized PnL in USD (all-time cumulative)
        symbol:
          type: string
          description: Token ticker symbol
          example: USDC
        tokenAddress:
          type: string
          description: Token contract address
          example: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
        unrealizedPnlInUsd:
          type:
            - string
            - 'null'
          description: Unrealized PnL in USD (current open position)
        valueInNative:
          type: string
          description: Holding value in native token
          example: '6.67'
        valueInUsd:
          type: string
          description: Holding value in 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

````