---
title: "Vault investor summary"
description: "Get your investment summary for one vault."
---

| | |
|---|---|
| SDK | `client.vault_investor_summary(...)` |
| HTTP | `POST https://trades.<domain>/full/v1/vault_investor_summary`, or `/lite/v1/vault_investor_summary` for [lite names](../../guides/environments.md#encoding-full-or-lite) (the SDKs' default) |
| WebSocket | method `v1/vault_investor_summary` on `wss://trades.<domain>/ws/full`, or `/ws/lite` for lite names |
| Auth | Session required ([Authentication](../../guides/authentication.md)) |
| Retries | Read: the SDKs retry retryable errors ([rules](../../guides/errors-and-retries.md)) |
| Contract id | `vault.vault_investor_summary` (`RPCVaultInvestorSummaryV1`) |

## Request

Body type `ApiVaultInvestorSummaryRequest`. Fields the server fills are left out.

- `vault_id` · lite `vi` · string (uint64) · optional — The unique identifier of the vault to fetch the summary for.

## Response

Body type `ApiVaultInvestorSummaryResponse` (the same object is the JSON-RPC `result` over WebSocket).

- `vault_investor_summary` · lite `vi` · object VaultInvestorSummary[] · required — The summary of investments in the vault.
- `vault_investor_summary[].sub_account_id` · lite `sa` · string (uint64) · required — The unique identifier of the vault sub-account.
- `vault_investor_summary[].num_lp_tokens` · lite `nl` · string · required — The number of vault LP tokens the investor holds: those in the funding account plus those in every sub-account.
- `vault_investor_summary[].avg_entry_price` · lite `ae` · string · required — The average entry price (in USD) of the investor's vault LP tokens: the investor's invested notional divided by numLPTokens.
- `vault_investor_summary[].current_price` · lite `cp` · string · required — The current price (in USD) of the vault LP tokens.
- `vault_investor_summary[].total_equity` · lite `te` · string · required — The vault's total equity (in USD). The investor's holding is investorEquity.
- `vault_investor_summary[].all_time_realized_pnl` · lite `at` · string · required — The all-time realized PnL (in USD) that the investor has received from the vault.
- `vault_investor_summary[].pending_redemption` · lite `pr` · object VaultRedemption · optional — The singleton pending redemption (omitted if none).
- `vault_investor_summary[].pending_redemption.num_lp_tokens` · lite `nl` · string · required — The number of LP Tokens requested for redemption.
- `vault_investor_summary[].pending_redemption.request_valuation` · lite `rv` · string · required — The valuation (in USD) of the redemption request.
- `vault_investor_summary[].pending_redemption.request_time` · lite `rt` · string (int64 unix ns) · required — Set by the server. Time at which the redemption request was received by Grvt in unix nanoseconds
- `vault_investor_summary[].pending_redemption.max_redemption_period_timestamp` · lite `mr` · string (int64 unix ns) · required — Set by the server. Time in unix nanoseconds, beyond which the request will be force-redeemed.
- `vault_investor_summary[].pending_redemption.cancel_blocked` · lite `cb` · bool · optional, default `true` — Omitted for redemption requests to non-cross exchange vaults. True if cancellation is blocked within the CEV allocation allowance for the user's current tier (e.g. because the user has already transferred out the spot balance underlying the redemption request).
- `vault_investor_summary[].pending_redemption.to_currency` · lite `tc` · string · required — The currency the request pays into the investor's funding account: the vault's investment currency, unless the request converts.
- `vault_investor_summary[].pending_redemption.exchange_rate` · lite `er` · string · required — The signed rate the request is paid at, `to_currency` per unit of the vault's investment currency. 1 when the request does not convert.
- `vault_investor_summary[].can_burn` · lite `cb` · bool · optional, default `true` — True if the requesting account is authorized to burn tokens on this vault, omitted otherwise.
- `vault_investor_summary[].num_lp_tokens_locked` · lite `nl1` · string · required — The number of the investor's vault LP tokens still within the vault's minimum investment period.
- `vault_investor_summary[].num_lp_tokens_redeemable` · lite `nl2` · string · required — The number of vault LP tokens the investor can request to redeem now: those past the minimum investment period, less any pending redemption.
- `vault_investor_summary[].locked_lots` · lite `ll` · object VaultLpLotView[] · required — The investor's vault LP tokens within the minimum investment period, by the time they unlock (earliest first).
- `vault_investor_summary[].locked_lots[].unlock_time` · lite `ut` · string (int64 unix ns) · required — Time in unix nanoseconds from which these LP tokens can be redeemed.
- `vault_investor_summary[].locked_lots[].num_lp_tokens` · lite `nl` · string · required — The number of LP tokens in the lot.
- `vault_investor_summary[].share_balances` · lite `sb` · object VaultShareBalances · required — Where the investor's vault LP tokens sit: the funding account and the sub-accounts.
- `vault_investor_summary[].share_balances.funding_lp_token_balance` · lite `fl` · string · required — The vault LP tokens in the funding account, including those a pending redemption reserves.
- `vault_investor_summary[].share_balances.trading_lp_token_balance` · lite `tl` · string · required — The vault LP tokens across all sub-accounts: the sum of tradingBalances.
- `vault_investor_summary[].share_balances.pending_redemption_lp_token_balance` · lite `pr` · string · required — The funding account's vault LP tokens a pending redemption reserves.
- `vault_investor_summary[].share_balances.available_to_transfer` · lite `at` · string · required — The funding account's vault LP tokens that can move to a sub-account now: fundingLpTokenBalance less pendingRedemptionLpTokenBalance. The minimum investment period does not block transfers. The destination's own checks still apply.
- `vault_investor_summary[].share_balances.currency` · lite `c` · string · optional — The vault's share currency, used to transfer its LP tokens. Omitted when the vault has none.
- `vault_investor_summary[].trading_balances` · lite `tb` · object VaultShareTradingBalance[] · required — One entry per sub-account holding the vault's LP tokens. Empty when no sub-account holds any.
- `vault_investor_summary[].trading_balances[].sub_account_id` · lite `sa` · string (uint64) · required — The sub-account.
- `vault_investor_summary[].trading_balances[].num_lp_tokens` · lite `nl` · string · required — The vault LP tokens in the sub-account.
- `vault_investor_summary[].trading_balances[].equity` · lite `e` · string · required — The current valuation (in USD) of the sub-account's vault LP tokens.
- `vault_investor_summary[].trading_balances[].available_to_transfer` · lite `at` · string · required — An estimate of the vault LP tokens that can move back to the funding account without failing the sub-account's withdrawal checks.
- `vault_investor_summary[].trading_balances[].margin_balance_usd` · lite `mb` · string · required — What the vault LP tokens add to the sub-account's margin (in USD): equity times the collateral value ratio. 0 when they don't count as collateral.
- `vault_investor_summary[].investor_equity` · lite `ie` · string · required — The current valuation (in USD) of all the investor's vault LP tokens: numLPTokens times currentPrice.
- `vault_investor_summary[].unrealized_pnl` · lite `up` · string · required — The investor's unrealized PnL (in USD): investorEquity less the investor's invested notional.

## Errors

Errors come back as `{"code", "message", "status"}` (lite `{"c", "m", "s"}`) with the HTTP status. Codes this call can return, as code, name (HTTP status) ([all error codes](../errors.md)):

`1000` Unauthorized (401) · `1001` Forbidden (403) · `1002` InternalServer (500) · `1003` InvalidRequest (400) · `1006` RateLimit (429, retryable) · `1008` IPNotWhitelisted (401) · `1014` GatewayTimeout (504, retryable) · `1015` ServiceUnavailable (503, retryable) · `7000` InvalidVaultID (400) · `7007` InvestorNotVaultLP (400)

## Example

```python
import os

from grvt import Grvt

with Grvt(
    env=os.environ.get("GRVT_ENV", "testnet"),
    api_key=os.environ["GRVT_API_KEY"],
) as client:
    resp = client.vault_investor_summary()
    print(resp)
```

Raw HTTP (set `GRVT_DOMAIN`, see [Environments](../../guides/environments.md); `GRVT_COOKIE` and `GRVT_ACCOUNT_ID` come from [login](../../guides/authentication.md)):

With full field names:

```sh
curl -sS "https://trades.$GRVT_DOMAIN/full/v1/vault_investor_summary" \
  -H "Content-Type: application/json" \
  -H "Cookie: gravity=$GRVT_COOKIE" \
  -H "X-Grvt-Account-Id: $GRVT_ACCOUNT_ID" \
  --data '{}'
```

With lite field names:

```sh
curl -sS "https://trades.$GRVT_DOMAIN/lite/v1/vault_investor_summary" \
  -H "Content-Type: application/json" \
  -H "Cookie: gravity=$GRVT_COOKIE" \
  -H "X-Grvt-Account-Id: $GRVT_ACCOUNT_ID" \
  --data '{}'
```
