Skip to main content
Use a wallet address to understand an account’s current exposure and trace how its activity has changed over time.

Open Positions

Inspect a wallet’s current outcome exposure and unrealized performance.
Call listPositions() on a PublicClient or SecureClient.

Closed Positions

Review the positions a wallet has exited or that have resolved, including their realized performance.
One method serves the whole position lifecycle: call listPositions() with status: PositionStatus.Closed. Closed rows keep the same Position shape with realized economics (currentSize is a ~0 residual and realizedPnl carries the outcome); they default to sorting by realized PnL.
Position Example

Activity History

Follow the timeline for a wallet across trades and other activity.
Call listActivity() on a PublicClient or SecureClient.
You can narrow down the activity types using the type field:
Activity is a discriminated union. The type field identifies each variant:

Notifications

Notifications provide a short-lived record of unread events for the connected account. The CLOB retains them for 48 hours.
Clients authenticated with Session Keys receive only notifications generated by those Session Keys.

List Notifications

Call fetchNotifications() on a SecureClient:

Drop Notifications

Mark notifications as read after processing them. Dropped notifications no longer appear when you list unread notifications.
Call dropNotifications() on a SecureClient with the notification IDs:

Portfolio Value

Read the current portfolio value for a wallet.
Call fetchPortfolioValue() on a PublicClient or SecureClient. It returns a single object: the wallet’s marked portfolio value in USDC, rounded to four decimals.

Wallet Stats

Read a wallet’s lifetime trading statistics.
Call fetchUserStats() on a PublicClient or SecureClient.
tradedMarketCount counts distinct markets, not fills. stats is null for an unknown user.

Wallet PnL History

Track a wallet’s cumulative profit and loss over time.
Call fetchUserPnl() on a PublicClient or SecureClient.
The default is one day sampled hourly. points are cumulative and ordered oldest first. Nullable amounts mean unavailable, not zero.

Wallet Trading Volume

Measure a wallet’s trading volume over a selected period.
Call fetchUserVolume() on a PublicClient or SecureClient.
volume.volume is in shares, volume.volumeUsdc is in USD, and volume.tradeCount counts fills. Window bounds expand to whole UTC days.