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

# Hyperliquid: Portfolio State, All-DEX Perp Metas, Completed Trades & PnL Summary

> We've added five GoldRush-native type values with no upstream equivalent: two that collapse several calls into one round-trip, and three that turn raw fills into ready-made trade and PnL analytics.

*Published August 19, 2026*

![Hyperliquid: Portfolio State, All-DEX Perp Metas, Completed Trades & PnL Summary](https://www.datocms-assets.com/86369/1787205785-20260819-hyperliquid-portfolio-metas-trades-pnl.jpg)

We've added five **GoldRush-native** `type` values with no upstream equivalent: two that collapse several calls into one round-trip, and three that turn raw fills into ready-made trade and PnL analytics. That takes the API to **58 supported types** (49 wire-compatible + 9 GoldRush-native), all on the same `POST /info` call.

| Type                        | Returns                                                                                                                                                             |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `portfolioState`            | Perp state, spot balances, and account-abstraction mode for a wallet in one round-trip. Pass `dex: "ALL_DEXES"` to fan out across the native DEX + every HIP-3 DEX. |
| `allPerpMetas`              | Universe + margin tables for **every** perp DEX in a single array (index `0` native, then HIP-3 DEXes in `perpDexs` order).                                         |
| `userCompletedTrades`       | Latest fully-closed round-trip trades for a wallet, newest-first (default 100, max 500).                                                                            |
| `userCompletedTradesByTime` | The same closed trades over a `close_time` window, oldest-first, paged forward with a keyset cursor.                                                                |
| `userPnlSummary`            | One aggregate PnL object per wallet - net realized PnL, win/loss rate, volume, fees, funding, active days, account age, and traded pairs.                           |

**What this unlocks**

* A full portfolio view (perp + spot + abstraction mode) in one request instead of three.
* Cross-DEX perp metadata for the whole HIP-3 ecosystem in a single fan-out call.
* Closed-trade history and lifetime PnL analytics served straight from GoldRush's gold tables - no client-side reconstruction.
* Forward pagination over any time window via a stable keyset cursor.

**How to access it**
Point any of the five `type` values at the same drop-in endpoint:
`POST https://hypercore.goldrushdata.com/info` — e.g. `{"type":"userPnlSummary","user":"0x..."}`

[Learn more](https://goldrush.dev/docs/goldrush-hyperliquid/info-api/overview)
