Get vault history
Vault return curve, NAV curve, TVL curve, and annualized APR for an account over a time range.
Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| address | yes | string (hex) | Account address. |
| from | yes | integer (int64) | Start timestamp in milliseconds (inclusive). Use 0 for all available history. |
| to | yes | integer (int64) | End timestamp in milliseconds (inclusive). Use 0 for the latest available snapshot. |
| interval | yes | string | Aggregation interval for the return and NAV curves. |
Response fields
| Parameter | Required | Type | Description |
|---|---|---|---|
apr | yes | string | Annualized percentage return as a decimal string. |
nav | yes | object[] | Per-share NAV curve normalized to 1.0 at the vault’s first positive NAV. |
nav[].timestamp | yes | integer (int64) | — |
nav[].value | yes | string | — |
returns | yes | object[] | Return curve derived from vault account equity snapshots. |
returns[].timestamp | yes | integer (int64) | — |
returns[].value | yes | string | — |
tvl | yes | object[] | TVL curve derived from vault account equity snapshots. |
tvl[].timestamp | yes | integer (int64) | — |
tvl[].value | yes | string | — |
vaultStats | yes | object | — |
vaultStats.averageReturns | yes | string | — |
vaultStats.maxDrawdown | yes | string | — |
vaultStats.returnsVolatility | yes | string | — |
vaultStats.sharpeRatio | yes | string | — |
Response example
A sample 200 response body is attached to this operation as an OpenAPI example — see the Example panel on this page.
Path Parameters
Account address.
Start timestamp in milliseconds (inclusive). Use 0 for all available history.
x >= 0End timestamp in milliseconds (inclusive). Use 0 for the latest available snapshot.
x >= 0Aggregation interval for the return and NAV curves. Candle timeframe/interval for aggregation
1m, 5m, 15m, 30m, 1h, 4h, 1d "1h"
Response
Vault history
Response containing vault returns, NAV, TVL, annualized APR, and summary stats.
Annualized percentage return as a decimal string.
Per-share NAV curve normalized to 1.0 at the vault's first positive NAV.
Return curve derived from vault account equity snapshots.
TVL curve derived from vault account equity snapshots.
Summary stats derived from the per-share NAV returns over the requested range.