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

# Get a wallet portfolio

> Returns a normalised token portfolio for the given address. If the address is a Solana base58 public key, the Solana portfolio is returned; otherwise the EVM portfolio is aggregated from the orchestrator's `/accounts/:address/portfolio` endpoint and priced via the price service.



## OpenAPI

````yaml https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /portfolio/{address}
openapi: 3.1.0
info:
  title: Deposit Service API
  version: 1.0.0
  description: >-
    Cross-chain deposit processing service with automatic token bridging and gas
    sponsorship
servers:
  - url: https://v1.orchestrator.rhinestone.dev/deposit-processor
security: []
paths:
  /portfolio/{address}:
    get:
      tags:
        - Utilities
      summary: Get a wallet portfolio
      description: >-
        Returns a normalised token portfolio for the given address. If the
        address is a Solana base58 public key, the Solana portfolio is returned;
        otherwise the EVM portfolio is aggregated from the orchestrator's
        `/accounts/:address/portfolio` endpoint and priced via the price
        service.
      parameters:
        - schema:
            type: string
            description: EVM address or Solana base58 public key
            example: '0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91'
          required: true
          description: EVM address or Solana base58 public key
          name: address
          in: path
        - schema:
            type: string
            description: Comma-separated chain IDs to filter the portfolio
            example: 1,8453,42161
          required: false
          description: Comma-separated chain IDs to filter the portfolio
          name: chainIds
          in: query
        - schema:
            type: string
            description: API key for authentication
            example: your-api-key
          required: true
          description: API key for authentication
          name: x-api-key
          in: header
        - schema:
            type: string
            pattern: ^\d{4}-\d{2}\.[a-z0-9]+$
            description: >-
              API version identifier (e.g. "2026-04.amazon"). Optional today,
              will become required in a future release.
            example: 2026-04.amazon
          required: false
          description: >-
            API version identifier (e.g. "2026-04.amazon"). Optional today, will
            become required in a future release.
          name: x-api-version
          in: header
      responses:
        '200':
          description: Wallet portfolio
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PortfolioResponse'
        '400':
          description: Invalid request or unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '502':
          description: Invalid upstream response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    PortfolioResponse:
      type: object
      properties:
        tokens:
          type: array
          items:
            type: object
            properties:
              chainId:
                anyOf:
                  - type: number
                  - type: string
              address:
                type: string
              symbol:
                type: string
              name:
                type: string
              decimals:
                type: number
              balance:
                type: string
              balanceUsd:
                type: number
            required:
              - chainId
              - symbol
              - name
              - decimals
              - balance
              - balanceUsd
        totalUsd:
          type: number
        truncated:
          type: boolean
      required:
        - tokens
        - totalUsd
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        details:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
              path:
                type: array
                items:
                  anyOf:
                    - type: string
                    - type: number
              code:
                type: string
            required:
              - message
      required:
        - error

````