Vault epochs
Vault epochs define fixed-duration accounting periods used in vault logic to compute returns, manage liquidity flows, and determine claim availability.
Structure
Each vault epoch object includes:
_id
(string) — Unique identifiervaultId
(string) — Vault the epoch belongs tovaultAddress
(string) — Address of the vaultblock
(object) —number
(number) — Block numbertimestamp
(number) — Unix timestamp
count
(number) — Epoch sequence indexstatus
(string) — One of:WAITING
,RUNNING
,DEFAULTED
,CURE
startDate
(string) — ISO 8601 start dateendDate
(string) — ISO 8601 end datestartCureDate
(string) — When cure phase begins (if applicable)apr
(number) — Estimated APRlastApr
(number) — APR from previous epochexpectedInterest
(string) — Interest forecasted during this epochunclaimedFees
(string) — Fees not yet claimeddeposits
(string) — Total deposits in epochduration
(number) — Duration in secondsbufferDuration
(number) — Buffer window after epoch endswithdrawType
(string) — EitherINSTANT
orSTANDARD
withdraws
(object) —amount
(string)fees
(string)
depositQueue
(object) —amount
(string)lastAmount
(string)isInstant
(boolean)
withdrawQueue
(object) —amount
(string)lastAmount
(string)isInstant
(boolean)
instantWithdraws
(object) —allowed
(boolean)delay
(number)amount
(string)aprDelta
(number)deadline
(string) — ISO 8601 datedisabled
(boolean)
createdAt
,updatedAt
(string) — ISO 8601 timestampscreatedBy
,updatedBy
(string) — Actor IDs
Endpoints
GET /v1/vault-epochs HTTP/1.1
Host: api.pareto.credit
Accept: */*
A list of vault epochs
{
"data": [
{
"_id": "text",
"vaultId": "text",
"vaultAddress": "text",
"block": {
"number": 1,
"timestamp": 1
},
"count": 1,
"status": "WAITING",
"startDate": "2025-06-21T15:54:59.863Z",
"endDate": "2025-06-21T15:54:59.863Z",
"startCureDate": "2025-06-21T15:54:59.863Z",
"apr": 1,
"lastApr": 1,
"expectedInterest": "text",
"unclaimedFees": "text",
"deposits": "text",
"duration": 1,
"bufferDuration": 1,
"withdrawType": "INSTANT",
"withdraws": {
"amount": "text",
"fees": "text"
},
"depositQueue": {
"amount": "text",
"lastAmount": "text",
"isInstant": true
},
"withdrawQueue": {
"amount": "text",
"lastAmount": "text",
"isInstant": true
},
"instantWithdraws": {
"allowed": true,
"delay": 1,
"amount": "text",
"aprDelta": 1,
"deadline": "2025-06-21T15:54:59.863Z",
"disabled": true
},
"createdAt": "2025-06-21T15:54:59.863Z",
"updatedAt": "2025-06-21T15:54:59.863Z",
"createdBy": "text",
"updatedBy": "text"
}
],
"totalCount": 1
}
Last updated