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,CUREstartDate(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) — EitherINSTANTorSTANDARDwithdraws(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
A list of vault epochs
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-11-04T05:30:44.994Z",
      "endDate": "2025-11-04T05:30:44.994Z",
      "startCureDate": "2025-11-04T05:30:44.994Z",
      "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-11-04T05:30:44.994Z",
        "disabled": true
      },
      "createdAt": "2025-11-04T05:30:44.994Z",
      "updatedAt": "2025-11-04T05:30:44.994Z",
      "createdBy": "text",
      "updatedBy": "text"
    }
  ],
  "totalCount": 1
}Last updated

