Vaults

Get user vault performance (deprecated)

Deprecated: This endpoint is deprecated. Please use /api/v1/account_vault_performance instead. This endpoint is maintained for backwards compatibility only.

get/api/v1/user_vault_performance

Request

  • Base URL
    https://api.mainnet.aptoslabs.com/decibel
  • URL
    https://api.mainnet.aptoslabs.com/decibel/api/v1/user_vault_performance
  • Auth
    HTTP bearer

Query parameters

accountstring required

Account address

offsetinteger

Number of results to skip (for pagination)

limitinteger

Maximum number of results to return

Response

User vault performance retrieved successfully

account_addressstring required
all_time_earnednumber double nullable

All-time profit/loss in USDC (includes both realized and unrealized)

all_time_returnnumber double nullable

All-time return percentage (includes both realized and unrealized)

current_num_sharesinteger nullable

Number of shares owned (in base units with 6 decimals)

current_value_of_sharesnumber double nullable

Current value of user's shares in USDC

locked_amountnumber double nullable

Amount currently locked (cannot withdraw). Frontend: withdrawable = current_value_of_shares - locked_amount

share_pricenumber double nullable

Current share price (NAV per share)

total_depositednumber double nullable

Total amount deposited in USDC (sum of all contributions)

total_withdrawnnumber double nullable

Total amount withdrawn in USDC (sum of all settled redemptions)

unrealized_pnlnumber double nullable

Unrealized profit/loss in USDC (only on current holdings)

volumenumber double nullable

Trading volume in USDC

weekly_win_rate_12wnumber double nullable

Example response

[
  {
    "vault": {
      "lockdown_period_s": 259200,
      "net_deposits": 30277044.96
    }
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.