Subaccounts
private/get_collaterals
Changed onReturns the subaccount ID and the list of its collateral balances, including each asset's amount and current value valued against live feed data. A lighter alternative to get_subaccount when only collateral holdings are needed.
post/private/get_collaterals
Request
- Base URLhttps://api.derive.xyz/v3
- AuthAPI key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature
Request body
Get Collaterals Request required
subaccount_id, integer required
Response
Success
Private Get Collaterals Response required
collaterals, Collateral[] required
subaccount_id, integer required
Changes
- info
api tag
Subaccountsadded - info
api tag
Otherremoved
- info
- info
api tag
Otheradded
1 more change in this revision
- info