Skip to main content
client.data.core.getValue aggregates a wallet’s exposure in USDC across all or selected markets.

Request

Parameters

NameTypeRequiredNotes
userstring (address)Wallet or proxy address.
marketstring[]Optional condition IDs to scope the calculation.

Response

The API returns an array, even when querying a single user/market combination.

Usage example

Failure modes

  • Missing user → validation error.
  • Invalid condition ID → validation error referencing the offending index.