HTTP endpoints
Get vault history
Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| vault | yes | string (hex) | Vault address (required) |
| user | yes | string (hex) | User address (optional) |
| paginationData | yes | object | Pagination segment containing pageNumber and pageSize (serialized per gateway contract). |
Response fields
| Parameter | Required | Type | Description |
|---|---|---|---|
history | yes | object[] | View containing multiple vault history entries with human-readable values |
history[].amount | yes | string | Amount deposited or payout amount for withdrawals (human-readable) |
history[].assetId | yes | integer | — |
history[].eventType | yes | string | Type of vault history event |
history[].round | yes | integer (int64) | — |
history[].shares | yes | integer | — |
history[].timestamp | yes | integer (int64) | — |
history[].txHash | yes | string (hex) | Transaction hash |
history[].user | yes | string (hex) | User who deposited/withdrew |
history[].vault | yes | string (hex) | Vault address |
pageNumber | yes | integer | — |
pageSize | yes | integer | — |
Response example
A sample 200 JSON body is attached to this operation as an OpenAPI example (Mintlify shows it in the example panel, similar to other exchange API docs).
GET
Get vault history
Path Parameters
Vault address (required) An Ethereum-style account address (20 bytes).
User address (optional) An Ethereum-style account address (20 bytes).
Pagination segment containing pageNumber and pageSize (serialized per gateway contract).
Previous
Get vault statistics### Parameters
| Parameter | Required | Type | Description |
| --------- | -------- | ---- | ----------- |
| vaultAddresses | yes | array | null | Comma-separated list of vault addresses (e.g., "0xABC...,0xDEF...") |
| from | yes | integer (int64) | — |
| to | yes | integer (int64) | — |
### Response fields
| Parameter | Required | Type | Description |
| --------- | -------- | ---- | ----------- |
| `vaultStats` | yes | object[] | — |
| `vaultStats[].address` | yes | string (hex) | An Ethereum-style account address (20 bytes). |
| `vaultStats[].stats` | yes | object | — |
| `vaultStats[].stats.APR` | yes | number (double) | — |
| `vaultStats[].stats.APR30d` | yes | number (double) | — |
| `vaultStats[].stats.APRTimeRange` | yes | integer (int64) | — |
| `vaultStats[].stats.CurrentTVL` | yes | number (double) | — |
| `vaultStats[].stats.apr_30d_data_time_range` | yes | integer (int64) | — |
| `vaultStats[].stats.balances` | yes | object | — |
| `vaultStats[].stats.balances.*` | yes | object (map) | An Ethereum-style account address (20 bytes). |
| `vaultStats[].stats.balances.*.shares` | yes | integer | — |
| `vaultStats[].stats.balances.*.withdrawableBalance` | yes | number (double) | — |
| `vaultStats[].stats.creationTimestamp` | yes | integer (Unix timestamp (milliseconds)) | — |
| `vaultStats[].stats.depositors` | yes | integer | — |
| `vaultStats[].stats.statsForTimeRange` | yes | object | — |
| `vaultStats[].stats.statsForTimeRange.avgReturns` | yes | number (double) | — |
| `vaultStats[].stats.statsForTimeRange.dailyValues` | yes | object[] | — |
| `vaultStats[].stats.statsForTimeRange.dailyValues[].nav` | yes | number (double) | — |
| `vaultStats[].stats.statsForTimeRange.dailyValues[].return` | yes | number (double) | — |
| `vaultStats[].stats.statsForTimeRange.dailyValues[].returnAbsolute` | yes | number (double) | — |
| `vaultStats[].stats.statsForTimeRange.dailyValues[].timestamp` | yes | integer (int64) | — |
| `vaultStats[].stats.statsForTimeRange.dailyValues[].tvl` | yes | number (double) | — |
| `vaultStats[].stats.statsForTimeRange.maxDrawdown` | yes | number (double) | — |
| `vaultStats[].stats.statsForTimeRange.returnsVolatility` | yes | number (double) | — |
| `vaultStats[].stats.statsForTimeRange.sharpeRatioDaily` | yes | number (double) | — |
### Response example
A sample **`200`** JSON body is attached to this operation as an OpenAPI **example** (Mintlify shows it in the example panel, similar to other exchange API docs).
Next
Get vault history