openapi: 3.0.3 x-reviewed-on: 2026-10-09 info: title: Pareto API - Vault Blocks version: 2026-10-09 description: Authenticated historical vault snapshots and integrator TVL trends. servers: - url: https://api.pareto.credit/v1 security: - bearerAuth: [] paths: /vault-blocks: get: operationId: listVaultBlocks summary: List vault block snapshots tags: - Vault Blocks parameters: - name: _id in: query style: form explode: false schema: description: List of item IDs. type: array minItems: 1 maxItems: 200 items: type: string pattern: ^[a-f0-9]{24}$ - $ref: "#/components/parameters/VaultIds" - $ref: "#/components/parameters/VaultAddresses" - name: block in: query style: form explode: false schema: description: The block number that must match type: array minItems: 1 maxItems: 200 items: type: number - name: timestamp:gt in: query schema: description: The block timestamp greater than type: number - name: timestamp:gte in: query schema: description: The block timestamp greater or equal than type: number - name: timestamp:lt in: query schema: description: The block timestamp less than type: number - name: timestamp:lte in: query schema: description: The block timestamp less or equal than type: number - name: cdoEpoch.status in: query style: form explode: false schema: description: The cdoEpoch status that must match type: array minItems: 1 maxItems: 200 items: type: string enum: - WAITING - RUNNING - DEFAULTED - CURE - name: limit in: query schema: description: Number of requested items. type: integer minimum: 1 maximum: 200 default: 50 - name: offset in: query schema: description: Number of skipped items. type: integer minimum: 0 - name: sort in: query schema: description: The field to use to sort the items. type: string enum: - block - timestamp - name: order in: query schema: description: Sort order of the items. type: string enum: - asc - desc - name: fields in: query style: form explode: false schema: description: Fields to include in the response. type: array items: type: string enum: - _id - vaultId - vaultAddress - block - APRs - APYs - totalSupply - price - TVL - pools - allocations - cdo - cdoEpoch - revolving - strategy - requests - totalRequests - createdAt - updatedAt responses: "200": description: Paginated snapshots. Items may be field projections. content: application/json: schema: $ref: "#/components/schemas/VaultBlockPage" example: data: - _id: 66f1a2b3c4d5e6f789012345 vaultId: 66f1a2b3c4d5e6f789012346 vaultAddress: "0x1111111111111111111111111111111111111111" block: number: 20500000 timestamp: 1723500000 price: "1012500" TVL: token: "1250000000000" USD: "1265625000000" totalCount: 1 "400": description: Invalid request parameters. Correct the request before retrying. "401": description: An issued, valid API key is required. "403": description: The requested business data is outside the integration key access. "429": description: Request volume has been limited. Reduce frequency and honor Retry-After when supplied. 5XX: description: Service or upstream failure. Retry transient read failures with bounded backoff. /vault-blocks/integrator-tvl-trend: get: operationId: getVaultIntegratorTvlTrend summary: Get a vault's integrator TVL trend tags: - Vault Blocks parameters: - name: vaultId in: query required: true schema: type: string - name: timestamp:gt in: query schema: type: number responses: "200": description: Integrator names and timestamped USD TVL values. content: application/json: schema: $ref: "#/components/schemas/IntegratorTvlTrend" "400": description: Invalid request parameters. Correct the request before retrying. "401": description: An issued, valid API key is required. "403": description: The requested business data is outside the integration key access. "429": description: Request volume has been limited. Reduce frequency and honor Retry-After when supplied. 5XX: description: Service or upstream failure. Retry transient read failures with bounded backoff. /vault-blocks/{vaultBlockId}: get: operationId: getVaultBlock summary: Get a vault block snapshot tags: - Vault Blocks parameters: - name: vaultBlockId in: path required: true schema: type: string pattern: ^[a-f0-9]{24}$ responses: "200": description: Vault block snapshot. content: application/json: schema: $ref: "#/components/schemas/VaultBlock" "400": description: Invalid request parameters. Correct the request before retrying. "401": description: An issued, valid API key is required. "403": description: The requested business data is outside the integration key access. "404": description: The requested resource was not found. "429": description: Request volume has been limited. Reduce frequency and honor Retry-After when supplied. 5XX: description: Service or upstream failure. Retry transient read failures with bounded backoff. components: securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: API access token description: Pareto API access token supplied as a Bearer token. parameters: VaultIds: name: vaultId in: query style: form explode: false schema: description: The vault IDentifier type: array minItems: 1 maxItems: 200 items: type: string pattern: ^[a-f0-9]{24}$ VaultAddresses: name: vaultAddress in: query style: form explode: false schema: description: The vault blockchain address type: array minItems: 1 maxItems: 200 items: type: string pattern: ^0x[a-fA-F0-9]{40}$ schemas: VaultBlock: type: object additionalProperties: true properties: APRs: description: Non-compounded interest rates type: object additionalProperties: false properties: BASE: description: Interest rate from base strategy type: number HARVEST: description: Interest rate from harvested rewards type: number REWARDS: description: Interest rate from distributed rewards type: number GROSS: description: Interest rate including fees type: number NET: description: Interest rate net of fees type: number FEE: description: Fees in percentage type: number required: - BASE APYs: description: Compounded interest rates type: object additionalProperties: false properties: BASE: description: Interest rate from base strategy type: number HARVEST: description: Interest rate from harvested rewards type: number REWARDS: description: Interest rate from distributed rewards type: number GROSS: description: Interest rate including fees type: number NET: description: Interest rate net of fees type: number FEE: description: Fees in percentage type: number required: - BASE interest: type: object additionalProperties: false properties: GROSS: description: Interest amount including fees type: string NET: description: Net Interest amount (GROSS - fee) type: string FEE: description: Fees amount type: string lastInterest: description: Interest amounts type: object additionalProperties: false properties: GROSS: description: Interest amount including fees type: string NET: description: Net Interest amount (GROSS - fee) type: string FEE: description: Fees amount type: string fee: description: Performance and management fee amounts type: object additionalProperties: false properties: PERFORMANCE: type: string MANAGEMENT: type: string WITHDRAWALS: type: string required: - PERFORMANCE - MANAGEMENT feePercentage: description: Applied fee rates in display-ready percentage points type: object additionalProperties: false properties: PERFORMANCE: type: number minimum: 0 MANAGEMENT: type: number minimum: 0 required: - PERFORMANCE - MANAGEMENT totalSupply: type: string price: type: string TVL: type: object additionalProperties: false properties: token: type: string USD: type: string withRequestsToken: description: TVL including pending deposits and withdraws type: string withRequestsUSD: description: TVL + pending requests converted in USD type: string required: - token - USD pools: type: array items: type: object additionalProperties: false properties: address: type: string pattern: ^0x[a-fA-F0-9]{40}$ protocol: type: string enum: - Idle - Clearpool - AaveV2 - Morpho - Gearbox - Compound - Lido - InstadApp - Ethena - UniswapV2 - UniswapV3 - Curve - Sky - Balancer - BalancerGauge - NapierPT - NapierYT - NapierLP - PendlePT - PendleLP - PendleSY - PendleYT - Euler - EulerSupply - Penpie - TermFinance rates: type: object additionalProperties: false properties: supply: type: number borrow: type: number required: - supply - borrow utilization: type: object additionalProperties: false properties: supplied: type: string borrowed: type: string rate: type: number required: - supplied - borrowed - rate available: type: object additionalProperties: false properties: toBorrow: type: string toWithDraw: type: string required: - toBorrow - toWithDraw APR: type: number tokens: type: array items: type: object additionalProperties: false properties: tokenAddress: type: string pattern: ^0x[a-fA-F0-9]{40}$ balance: type: string balanceScaled: type: string required: - tokenAddress - balance - balanceScaled exchangeRate: type: string underlyingBalance: type: string totalSupply: type: string required: - address - protocol totalRequests: type: object additionalProperties: false properties: DEPOSIT: type: object additionalProperties: false properties: PENDING: type: string CLAIMED: type: string required: - PENDING - CLAIMED WITHDRAW: type: object additionalProperties: false properties: PENDING: type: string PROCESSED: type: string CLAIMABLE: type: string INSTANT_CLAIMABLE: type: string CLAIMED: type: string required: - PENDING - PROCESSED - CLAIMABLE - INSTANT_CLAIMABLE - CLAIMED REDEEM: type: object additionalProperties: false properties: PENDING: type: string CLAIMED: type: string required: - PENDING - CLAIMED WRITEOFF: type: object additionalProperties: false properties: PENDING: type: string FULFILLED: type: string required: - PENDING rewardPrograms: type: array items: type: object additionalProperties: false properties: tokenId: type: string pattern: ^[a-f0-9]{24}$ APR: type: number USD: type: string required: - tokenId - APR integrators: type: array items: type: object additionalProperties: true properties: operatorId: type: string provider: type: string enum: - Gauntlet - ThreeF - Nest - Royco status: type: string enum: - READY - UNAVAILABLE fetchedAt: type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ data: type: object additionalProperties: false properties: blockNumber: type: number exposure: type: number maxApy: type: number maxLeverage: type: number tvl: type: number apy: {} tvlUsd: type: number coverage: type: number utilization: type: number senior: type: object additionalProperties: false properties: tvl: type: number apySinceInception: type: number apy: type: number apy24h: type: number apy7d: type: number apy30d: type: number junior: type: object additionalProperties: false properties: tvl: type: number apySinceInception: type: number apy: type: number apy24h: type: number apy7d: type: number apy30d: type: number required: - provider - status - fetchedAt cdo: type: object additionalProperties: false properties: APRSplitRatio: type: string currentAARatio: type: string cdoEpoch: type: object additionalProperties: false properties: apr: type: number lastInterest: type: string apr0TotalPrincipal: type: string expectedInterest: type: string unclaimedFees: type: string deposits: type: string duration: type: number status: type: string enum: - WAITING - RUNNING - DEFAULTED - CURE contractValue: type: string strategyTokenBalance: type: string managedNav: type: string strategyToken: type: string pattern: ^0x[a-fA-F0-9]{40}$ lastApr: type: number count: type: number startDate: type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ endDate: type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ startCureDate: type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ epochNumber: type: number bufferDuration: type: number withdrawType: type: string enum: - INSTANT - STANDARD withdraws: type: object additionalProperties: false properties: amount: type: string fees: type: string principal: type: string interest: type: string required: - amount - fees depositQueue: type: object additionalProperties: false properties: amount: type: string lastAmount: type: string isInstant: type: boolean epochWithdrawPrice: type: string required: - amount withdrawQueue: type: object additionalProperties: false properties: amount: type: string lastAmount: type: string isInstant: type: boolean epochWithdrawPrice: type: string required: - amount instantWithdraws: type: object additionalProperties: false properties: allowed: type: boolean delay: type: number amount: type: string aprDelta: type: number deadline: type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ disabled: type: boolean required: - allowed - delay - amount - aprDelta required: - apr - lastInterest - expectedInterest - unclaimedFees - deposits - duration - status revolving: type: object additionalProperties: false description: Programmable borrower revolving credit metrics. properties: borrower: type: object additionalProperties: false description: Borrower principal, interest, and accrual metrics. properties: apr: type: string description: Borrower APR scaled by the contract. principal: type: string description: Current borrower principal outstanding. interestAccrued: type: string description: Stored borrower interest accrued. interestAccruedNow: type: string description: Borrower interest accrued at the block timestamp. interestDebt: type: string description: Stored borrower interest debt. interestOwedNow: type: string description: Borrower interest owed at the block timestamp. totalInterestDueNow: type: string description: Total borrower interest due at the block timestamp. lastAccrual: description: Timestamp of the last borrower interest accrual. type: string epoch: type: object additionalProperties: false description: Programmable borrower epoch accounting metrics. properties: accountingActive: type: boolean description: Whether epoch accounting is currently active. depositedToVault: type: string description: Assets deposited into the strategy vault this epoch. pendingWithdraws: type: string description: Assets pending withdrawal for the current epoch. startVaultAssets: type: string description: Strategy vault assets at epoch accounting start. withdrawnFromVault: description: Assets withdrawn from the strategy vault this epoch. type: string vault: type: object additionalProperties: false description: Underlying ERC-4626 vault liquidity and buffer metrics. properties: availableToBorrow: type: string description: Assets currently available for the borrower to draw. totalUnderlying: type: string description: Total underlying assets managed by the borrower. interestAccrued: type: string description: Interest accrued by the underlying strategy vault. loss: type: string description: Loss reported by the strategy vault. sharesBalance: type: string description: Programmable borrower strategy vault share balance. bufferStartAssets: type: string description: Strategy vault assets at buffer accounting start. bufferedDelta: description: Buffered strategy vault asset delta. type: string strategy: type: object additionalProperties: false properties: APR: type: string rewardTokens: type: array items: type: string paretoDollar: type: object additionalProperties: false properties: queue: type: object additionalProperties: false properties: epochNumber: description: Queue contract epoch number type: number totalCollateralsScaled: description: Queue contract total collateral scaled type: string unlentBalanceScaled: description: Queue contract total unlent balance scaled type: string totalReservedWithdrawals: description: Queue contract total reserved withdrawals type: string yieldSources: description: Queue contract yield sources type: array items: type: object additionalProperties: false properties: tokenId: type: string pattern: ^[a-f0-9]{24}$ vaultId: type: string pattern: ^[a-f0-9]{24}$ operatorId: type: string pattern: ^[a-f0-9]{24}$ tokenAddress: type: string pattern: ^0x[a-fA-F0-9]{40}$ sourceAddress: type: string pattern: ^0x[a-fA-F0-9]{40}$ vaultAddress: type: string pattern: ^0x[a-fA-F0-9]{40}$ maxCap: type: string depositedAmount: type: string vaultType: type: number required: - tokenAddress - sourceAddress - vaultAddress - maxCap - depositedAmount - vaultType epochPending: description: Current epoch pending type: string prevEpochPending: description: Previous epoch pending type: string required: - epochNumber - totalCollateralsScaled - unlentBalanceScaled - totalReservedWithdrawals - yieldSources staking: type: object additionalProperties: false properties: totalSupply: description: USP Staking contract total supply type: string totalAssets: description: USP Staking contract total assets type: string rewardsLastDeposit: description: USP Staking contract rewards last deposit type: string required: - totalSupply - totalAssets - rewardsLastDeposit allocations: type: array items: type: object additionalProperties: false properties: vaultId: type: string pattern: ^[a-f0-9]{24}$ vaultAddress: type: string pattern: ^0x[a-fA-F0-9]{40}$ percentage: type: number required: - vaultAddress - percentage requests: type: array items: type: object additionalProperties: true properties: block: type: object additionalProperties: false properties: number: type: number timestamp: type: number description: Unix timestamp in seconds. required: - number - timestamp type: type: string enum: - DEPOSIT - WITHDRAW - REDEEM - WRITEOFF amount: type: string interest: type: string lpAmount: type: string requestedOn: type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ dueDate: type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ completedOn: type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ discountToNAV: type: number walletAddress: type: string pattern: ^0x[a-fA-F0-9]{40}$ status: type: string enum: - PENDING - PROCESSED - CLAIMABLE - INSTANT_CLAIMABLE - CLAIMED - DELETED - FULFILLED - COMPLETED epochNumber: type: number isInstant: type: boolean vaultId: type: string pattern: ^[a-f0-9]{24}$ vaultAddress: type: string pattern: ^0x[a-fA-F0-9]{40}$ vaultId: type: string pattern: ^[a-f0-9]{24}$ vaultAddress: type: string pattern: ^0x[a-fA-F0-9]{40}$ block: type: object additionalProperties: false properties: number: type: number timestamp: type: number description: Unix timestamp in seconds. required: - number - timestamp _id: readOnly: true description: Entity ID. type: string pattern: ^[a-f0-9]{24}$ createdAt: description: Entity creation date. type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ updatedAt: description: The last-update date. type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ required: - APRs - APYs - fee - feePercentage - totalSupply - price - vaultId - vaultAddress - block - _id - createdAt - updatedAt VaultBlockPage: type: object required: - data - totalCount properties: data: type: array items: $ref: "#/components/schemas/VaultBlockProjection" totalCount: type: integer minimum: 0 IntegratorTvlTrend: type: object required: - integratorNames - trend properties: integratorNames: type: object additionalProperties: type: string trend: type: array items: type: object required: - date - values properties: date: type: string format: date-time values: type: object additionalProperties: type: number description: USD TVL keyed by integrator operator ID. VaultBlockProjection: type: object additionalProperties: true properties: APRs: description: Non-compounded interest rates type: object additionalProperties: false properties: BASE: description: Interest rate from base strategy type: number HARVEST: description: Interest rate from harvested rewards type: number REWARDS: description: Interest rate from distributed rewards type: number GROSS: description: Interest rate including fees type: number NET: description: Interest rate net of fees type: number FEE: description: Fees in percentage type: number required: - BASE APYs: description: Compounded interest rates type: object additionalProperties: false properties: BASE: description: Interest rate from base strategy type: number HARVEST: description: Interest rate from harvested rewards type: number REWARDS: description: Interest rate from distributed rewards type: number GROSS: description: Interest rate including fees type: number NET: description: Interest rate net of fees type: number FEE: description: Fees in percentage type: number required: - BASE interest: type: object additionalProperties: false properties: GROSS: description: Interest amount including fees type: string NET: description: Net Interest amount (GROSS - fee) type: string FEE: description: Fees amount type: string lastInterest: description: Interest amounts type: object additionalProperties: false properties: GROSS: description: Interest amount including fees type: string NET: description: Net Interest amount (GROSS - fee) type: string FEE: description: Fees amount type: string fee: description: Performance and management fee amounts type: object additionalProperties: false properties: PERFORMANCE: type: string MANAGEMENT: type: string WITHDRAWALS: type: string required: - PERFORMANCE - MANAGEMENT feePercentage: description: Applied fee rates in display-ready percentage points type: object additionalProperties: false properties: PERFORMANCE: type: number minimum: 0 MANAGEMENT: type: number minimum: 0 required: - PERFORMANCE - MANAGEMENT totalSupply: type: string price: type: string TVL: type: object additionalProperties: false properties: token: type: string USD: type: string withRequestsToken: description: TVL including pending deposits and withdraws type: string withRequestsUSD: description: TVL + pending requests converted in USD type: string required: - token - USD pools: type: array items: type: object additionalProperties: false properties: address: type: string pattern: ^0x[a-fA-F0-9]{40}$ protocol: type: string enum: - Idle - Clearpool - AaveV2 - Morpho - Gearbox - Compound - Lido - InstadApp - Ethena - UniswapV2 - UniswapV3 - Curve - Sky - Balancer - BalancerGauge - NapierPT - NapierYT - NapierLP - PendlePT - PendleLP - PendleSY - PendleYT - Euler - EulerSupply - Penpie - TermFinance rates: type: object additionalProperties: false properties: supply: type: number borrow: type: number required: - supply - borrow utilization: type: object additionalProperties: false properties: supplied: type: string borrowed: type: string rate: type: number required: - supplied - borrowed - rate available: type: object additionalProperties: false properties: toBorrow: type: string toWithDraw: type: string required: - toBorrow - toWithDraw APR: type: number tokens: type: array items: type: object additionalProperties: false properties: tokenAddress: type: string pattern: ^0x[a-fA-F0-9]{40}$ balance: type: string balanceScaled: type: string required: - tokenAddress - balance - balanceScaled exchangeRate: type: string underlyingBalance: type: string totalSupply: type: string required: - address - protocol totalRequests: type: object additionalProperties: false properties: DEPOSIT: type: object additionalProperties: false properties: PENDING: type: string CLAIMED: type: string required: - PENDING - CLAIMED WITHDRAW: type: object additionalProperties: false properties: PENDING: type: string PROCESSED: type: string CLAIMABLE: type: string INSTANT_CLAIMABLE: type: string CLAIMED: type: string required: - PENDING - PROCESSED - CLAIMABLE - INSTANT_CLAIMABLE - CLAIMED REDEEM: type: object additionalProperties: false properties: PENDING: type: string CLAIMED: type: string required: - PENDING - CLAIMED WRITEOFF: type: object additionalProperties: false properties: PENDING: type: string FULFILLED: type: string required: - PENDING rewardPrograms: type: array items: type: object additionalProperties: false properties: tokenId: type: string pattern: ^[a-f0-9]{24}$ APR: type: number USD: type: string required: - tokenId - APR integrators: type: array items: type: object additionalProperties: true properties: operatorId: type: string provider: type: string enum: - Gauntlet - ThreeF - Nest - Royco status: type: string enum: - READY - UNAVAILABLE fetchedAt: type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ data: type: object additionalProperties: false properties: blockNumber: type: number exposure: type: number maxApy: type: number maxLeverage: type: number tvl: type: number apy: {} tvlUsd: type: number coverage: type: number utilization: type: number senior: type: object additionalProperties: false properties: tvl: type: number apySinceInception: type: number apy: type: number apy24h: type: number apy7d: type: number apy30d: type: number junior: type: object additionalProperties: false properties: tvl: type: number apySinceInception: type: number apy: type: number apy24h: type: number apy7d: type: number apy30d: type: number required: - provider - status - fetchedAt cdo: type: object additionalProperties: false properties: APRSplitRatio: type: string currentAARatio: type: string cdoEpoch: type: object additionalProperties: false properties: apr: type: number lastInterest: type: string apr0TotalPrincipal: type: string expectedInterest: type: string unclaimedFees: type: string deposits: type: string duration: type: number status: type: string enum: - WAITING - RUNNING - DEFAULTED - CURE contractValue: type: string strategyTokenBalance: type: string managedNav: type: string strategyToken: type: string pattern: ^0x[a-fA-F0-9]{40}$ lastApr: type: number count: type: number startDate: type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ endDate: type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ startCureDate: type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ epochNumber: type: number bufferDuration: type: number withdrawType: type: string enum: - INSTANT - STANDARD withdraws: type: object additionalProperties: false properties: amount: type: string fees: type: string principal: type: string interest: type: string required: - amount - fees depositQueue: type: object additionalProperties: false properties: amount: type: string lastAmount: type: string isInstant: type: boolean epochWithdrawPrice: type: string required: - amount withdrawQueue: type: object additionalProperties: false properties: amount: type: string lastAmount: type: string isInstant: type: boolean epochWithdrawPrice: type: string required: - amount instantWithdraws: type: object additionalProperties: false properties: allowed: type: boolean delay: type: number amount: type: string aprDelta: type: number deadline: type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ disabled: type: boolean required: - allowed - delay - amount - aprDelta required: - apr - lastInterest - expectedInterest - unclaimedFees - deposits - duration - status revolving: type: object additionalProperties: false description: Programmable borrower revolving credit metrics. properties: borrower: type: object additionalProperties: false description: Borrower principal, interest, and accrual metrics. properties: apr: type: string description: Borrower APR scaled by the contract. principal: type: string description: Current borrower principal outstanding. interestAccrued: type: string description: Stored borrower interest accrued. interestAccruedNow: type: string description: Borrower interest accrued at the block timestamp. interestDebt: type: string description: Stored borrower interest debt. interestOwedNow: type: string description: Borrower interest owed at the block timestamp. totalInterestDueNow: type: string description: Total borrower interest due at the block timestamp. lastAccrual: description: Timestamp of the last borrower interest accrual. type: string epoch: type: object additionalProperties: false description: Programmable borrower epoch accounting metrics. properties: accountingActive: type: boolean description: Whether epoch accounting is currently active. depositedToVault: type: string description: Assets deposited into the strategy vault this epoch. pendingWithdraws: type: string description: Assets pending withdrawal for the current epoch. startVaultAssets: type: string description: Strategy vault assets at epoch accounting start. withdrawnFromVault: description: Assets withdrawn from the strategy vault this epoch. type: string vault: type: object additionalProperties: false description: Underlying ERC-4626 vault liquidity and buffer metrics. properties: availableToBorrow: type: string description: Assets currently available for the borrower to draw. totalUnderlying: type: string description: Total underlying assets managed by the borrower. interestAccrued: type: string description: Interest accrued by the underlying strategy vault. loss: type: string description: Loss reported by the strategy vault. sharesBalance: type: string description: Programmable borrower strategy vault share balance. bufferStartAssets: type: string description: Strategy vault assets at buffer accounting start. bufferedDelta: description: Buffered strategy vault asset delta. type: string strategy: type: object additionalProperties: false properties: APR: type: string rewardTokens: type: array items: type: string paretoDollar: type: object additionalProperties: false properties: queue: type: object additionalProperties: false properties: epochNumber: description: Queue contract epoch number type: number totalCollateralsScaled: description: Queue contract total collateral scaled type: string unlentBalanceScaled: description: Queue contract total unlent balance scaled type: string totalReservedWithdrawals: description: Queue contract total reserved withdrawals type: string yieldSources: description: Queue contract yield sources type: array items: type: object additionalProperties: false properties: tokenId: type: string pattern: ^[a-f0-9]{24}$ vaultId: type: string pattern: ^[a-f0-9]{24}$ operatorId: type: string pattern: ^[a-f0-9]{24}$ tokenAddress: type: string pattern: ^0x[a-fA-F0-9]{40}$ sourceAddress: type: string pattern: ^0x[a-fA-F0-9]{40}$ vaultAddress: type: string pattern: ^0x[a-fA-F0-9]{40}$ maxCap: type: string depositedAmount: type: string vaultType: type: number required: - tokenAddress - sourceAddress - vaultAddress - maxCap - depositedAmount - vaultType epochPending: description: Current epoch pending type: string prevEpochPending: description: Previous epoch pending type: string required: - epochNumber - totalCollateralsScaled - unlentBalanceScaled - totalReservedWithdrawals - yieldSources staking: type: object additionalProperties: false properties: totalSupply: description: USP Staking contract total supply type: string totalAssets: description: USP Staking contract total assets type: string rewardsLastDeposit: description: USP Staking contract rewards last deposit type: string required: - totalSupply - totalAssets - rewardsLastDeposit allocations: type: array items: type: object additionalProperties: false properties: vaultId: type: string pattern: ^[a-f0-9]{24}$ vaultAddress: type: string pattern: ^0x[a-fA-F0-9]{40}$ percentage: type: number required: - vaultAddress - percentage requests: type: array items: type: object additionalProperties: true properties: block: type: object additionalProperties: false properties: number: type: number timestamp: type: number description: Unix timestamp in seconds. required: - number - timestamp type: type: string enum: - DEPOSIT - WITHDRAW - REDEEM - WRITEOFF amount: type: string interest: type: string lpAmount: type: string requestedOn: type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ dueDate: type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ completedOn: type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ discountToNAV: type: number walletAddress: type: string pattern: ^0x[a-fA-F0-9]{40}$ status: type: string enum: - PENDING - PROCESSED - CLAIMABLE - INSTANT_CLAIMABLE - CLAIMED - DELETED - FULFILLED - COMPLETED epochNumber: type: number isInstant: type: boolean vaultId: type: string pattern: ^[a-f0-9]{24}$ vaultAddress: type: string pattern: ^0x[a-fA-F0-9]{40}$ vaultId: type: string pattern: ^[a-f0-9]{24}$ vaultAddress: type: string pattern: ^0x[a-fA-F0-9]{40}$ block: type: object additionalProperties: false properties: number: type: number timestamp: type: number description: Unix timestamp in seconds. required: - number - timestamp _id: readOnly: true description: Entity ID. type: string pattern: ^[a-f0-9]{24}$ createdAt: description: Entity creation date. type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$ updatedAt: description: The last-update date. type: string pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$