Skip to navigation

Get collateral assets

Retrieve the collateral assets held in the Flexible Loan account, including the amount and its notional value in USD.

Authentication

OK-ACCESS-KEYstring
Your API key.
OK-ACCESS-SIGNstring

Base64-encoded HMAC-SHA256 signature of the prehash string.

OK-ACCESS-TIMESTAMPstring

ISO 8601 UTC timestamp, e.g. 2020-12-08T09:08:57.715Z.

OK-ACCESS-PASSPHRASEstring
The passphrase you set when creating the API key.

Query parameters

ccystringOptional

Single currency or multiple currencies (no more than 20) separated with comma, e.g. BTC or BTC,ETH. Returns all collateral assets if omitted.

ordIdstringOptional

Loan order ID. Used when the account holds multiple active flexible-loan positions.

Response

Successful response
codestringOptional

Result code. 0 means success; any other value is an error code.

msgstringOptional
Error message. Empty on success.
datalist of objectsOptional