v18

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-1750147643.4 KB
User

Get user borrow subaccount collaterals

get/api/v1/users/{address}/markets/borrow/accounts/{index}/collaterals

Path parameters

addressstring required

The user account address

The user account address

indexinteger required

The user account index

The user account index

Query parameters

with_textboolean

Include text variation fields

Include text variation fields

with_valueboolean

Calculate and include USD values for amounts, where applicable

Calculate and include USD values for amounts, where applicable

Response

Success response

countinteger required

Total number of objects irrespective of any pagination parameters.

{"stackTrail":"components:schemas:UserCollateralAssetPoolListResponse:properties:error","oasType":"schema","type":"unknown","description":"Error data. Guaranteed `null` for successful response."}
statusinteger required

HTTP status. Successful responses are guaranteed to be < 400. Conversely, error responses are guaranteed to be >= 400.

status_textstring required

HTTP status text