Vaults
Get vault account summary
Get current user summary metrics for all vaults or for the single vault specified by address. User metrics are only returned if the current user is a depositor for the vault.
get/vaults/account-summary
Query parameters
addressstring
Vault Address
Response
OK
Example response
{
"results": [
{
"address": "0x1234567890abcdef",
"created_at": 1717171717,
"deposited_amount": "123.45",
"total_pnl": "149.12",
"total_roi": "0.724",
"vtoken_amount": "123.45"
}
]
}Changes
Changed in 1 of the 50 revisions of this API.2
- ○
added the media type
application/jsonfor the response with the status200response-media-type-added
- ○
added the media type
application/jsonfor the response with the status400response-media-type-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○