# GetAssetsResponse

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    ErrorEmpty:
      type: array
      items:
        type: object
        properties: {}
        x-apidog-orders: []
      maxItems: 0
      x-apidog-folder: ''
    ProviderId:
      type: string
      enum:
        - coinbase
        - gemini
        - kraken
        - binance-us
        - ethereum
        - bitcoin
        - fidelity
      description: >-
        Provider holding the assets, e.g. an exchange (e.g. Coinbase) or chain
        (Bitcoin, Ethereum).
      x-apidog-folder: ''
    PageData:
      type: object
      properties:
        next_uri:
          type: string
          description: URL for the next page
          format: uri-reference
          examples:
            - >-
              /transactions?start_time=2025-11-22T23%3A45%3A50Z&end_time=2026-01-25T22%3A47%3A34Z&limit=30&cursor=DLVsbG8sIFdvcmxkIQ==
      x-apidog-orders:
        - next_uri
      x-apidog-folder: ''
    AssetPosition:
      type: object
      properties:
        asset_symbol:
          type: string
          description: Currency name, e.g. BTC.
        asset_holdings:
          type: number
          description: >-
            Quantity of the asset. Excludes staked and contract locked
            quantities.
        staked_holdings:
          type: number
          description: Quantity of the asset locked in staking contracts.
        time_fetched:
          format: date-time
          type: string
          description: >-
            Time that Calico last viewed this asset position as a string
            timestamp (ISO-8601 UTC).
        price_in_usd:
          type: number
          description: >-
            Current price in USD of both staked and asset holdings. Does not
            include assets locked in contracts (besides staking contracts).
            Nullable if the asset cannot be priced (spam token or low market
            cap).
          nullable: true
        provider_id:
          description: >-
            Provider holding the assets, e.g. an exchange (e.g. Coinbase) or
            chain (Bitcoin, Ethereum).
          allOf:
            - $ref: '#/components/schemas/ProviderId'
        wallet_address_redacted:
          type: string
          description: >-
            The masked wallet address that this asset is associated with (held
            by this wallet) if source is a wallet.
        chain:
          type: string
          description: The chain that this asset is held on, if known.
          enum:
            - eth
            - polygon
            - bsc
            - avalanche
            - cronos
            - arbitrum
            - chiliz
            - gnosis
            - base
            - optimism
            - linea
            - moonbeam
            - flow
            - ronin
            - lisk
            - pulse
          x-apidog-enum:
            - value: eth
              name: ''
              description: ''
            - value: polygon
              name: ''
              description: ''
            - value: bsc
              name: ''
              description: ''
            - value: avalanche
              name: ''
              description: ''
            - value: cronos
              name: ''
              description: ''
            - value: arbitrum
              name: ''
              description: ''
            - value: chiliz
              name: ''
              description: ''
            - value: gnosis
              name: ''
              description: ''
            - value: base
              name: ''
              description: ''
            - value: optimism
              name: ''
              description: ''
            - value: linea
              name: ''
              description: ''
            - value: moonbeam
              name: ''
              description: ''
            - value: flow
              name: ''
              description: ''
            - value: ronin
              name: ''
              description: ''
            - value: lisk
              name: ''
              description: ''
            - value: pulse
              name: ''
              description: ''
        token_address:
          type: string
          description: The token address that this asset is held on, if known.
        connection_id:
          type: string
          format: uuid
          description: >-
            A unique, anonymous Calico identifier for the connected exchange or
            wallet that holds this asset or transaction.
          x-apidog-mock: '{{$string.uuid}}'
      required:
        - asset_symbol
        - asset_holdings
        - staked_holdings
        - time_fetched
        - provider_id
        - price_in_usd
        - connection_id
      x-apidog-orders:
        - asset_symbol
        - asset_holdings
        - staked_holdings
        - time_fetched
        - provider_id
        - price_in_usd
        - wallet_address_redacted
        - chain
        - token_address
        - connection_id
      x-apidog-folder: ''
    GetAssetsData:
      type: object
      properties:
        assets:
          type: array
          items:
            $ref: '#/components/schemas/AssetPosition'
      x-apidog-orders:
        - assets
      required:
        - assets
      x-apidog-folder: ''
    GetAssetsResponse:
      type: object
      properties:
        page:
          $ref: '#/components/schemas/PageData'
        errors:
          $ref: '#/components/schemas/ErrorEmpty'
        data:
          $ref: '#/components/schemas/GetAssetsData'
      x-apidog-orders:
        - page
        - errors
        - data
      required:
        - page
        - errors
        - data
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: ''
    description: Cloud Mock
  - url: https://api.getcalico.com
    description: Platform v2
security: []

```
