Skip to main content

BalanceData

Aggregated balance data for a sub-account.

depositsnumber

Total deposits in USD

Example: 10000.5
debtnumber

Total debt in USD

Example: 5000.25
adjustedDebtnumber

Debt adjusted for borrow factors

Example: 5500
collateralnumber

Collateral value in USD

Example: 9000
collateralAllActivenumber

Collateral if all assets were enabled

Example: 10000.5
borrowDiscountedCollateralnumber

Collateral discounted by borrow factors

Example: 8000
borrowDiscountedCollateralAllActivenumber

Discounted collateral if all enabled

Example: 9000
navnumber

Net asset value (deposits - debt)

Example: 5000.25
deposits24hnumber

Deposits 24h ago (for change calculation)

Example: 9800
debt24hnumber

Debt 24h ago

Example: 4900
nav24hnumber

NAV 24h ago

Example: 4900
rewards object

Pending rewards by token

property name*any

Pending rewards by token

BalanceData
{
"deposits": 10000.5,
"debt": 5000.25,
"adjustedDebt": 5500,
"collateral": 9000,
"collateralAllActive": 10000.5,
"borrowDiscountedCollateral": 8000,
"borrowDiscountedCollateralAllActive": 9000,
"nav": 5000.25,
"deposits24h": 9800,
"debt24h": 4900,
"nav24h": 4900,
"rewards": {}
}