PortfolioSummaryResponse
Portfolio-wide totals with per-chain breakdowns. Per-lender summaries are fused into each LenderDataEntry in the data array.
totalDepositsUSDnumber
Total deposits across all lenders in USD
Example:
50000totalDebtUSDnumber
Total debt across all lenders in USD
Example:
25000totalNetWorthnumber
Net worth (deposits - debt)
Example:
25000totalNetWorth24hnumber
Net worth 24h ago (for change calculation)
Example:
24500avgDepositAprnumber
Weighted average deposit APR (%)
Example:
3.2avgBorrowAprnumber
Weighted average borrow APR (%)
Example:
5.5avgNetAprnumber
Weighted net APR (%)
Example:
0.9totalRewardAprnumber
Total reward APR across all positions
Example:
1.5overallLeveragenumber
Overall leverage ratio (deposits / netWorth)
Example:
2activeLendersinteger
Number of lenders with positions
Example:
3activeChainsinteger
Number of chains with positions
Example:
2chains object[]
Per-chain totals. Per-lender data is fused into the top-level data array.
Array [
chainIdstring
Chain ID
Example:
1totalDepositsUSDnumber
Total deposits on this chain in USD
Example:
20000totalDebtUSDnumber
Total debt on this chain in USD
Example:
10000netWorthnumber
Net worth on this chain
Example:
10000lenderCountinteger
Number of active lenders on this chain
Example:
2]
PortfolioSummaryResponse
{
"chains": [
{
"chainId": "1",
"totalDepositsUSD": 20000,
"totalDebtUSD": 10000,
"netWorth": 10000,
"lenderCount": 2
}
],
"totalDepositsUSD": 50000,
"totalDebtUSD": 25000,
"totalNetWorth": 25000,
"totalNetWorth24h": 24500,
"avgDepositApr": 3.2,
"avgBorrowApr": 5.5,
"avgNetApr": 0.9,
"totalRewardApr": 1.5,
"overallLeverage": 2,
"activeLenders": 3,
"activeChains": 2
}