v1

latestOpenAPI 3.1.02026-07-2639148131.7 KB
creditbook

Deposit collateral

Adds more collateral to an existing loan position.

post/markets/creditbook/collateral/deposit

Headers

Idempotent-Keystring nullable

Optional idempotency key; a retried write with the same key replays the original response

Request body

amountinteger required
assetIdentifierstring required
assetIndexGuidanceinteger[]

Per-collateral oracle asset-index guidance (one byte per collateral slot).

assetTypeinteger required
depositMintstring required
loanstring required
lockLoanboolean

Response

Serialized transaction for depositing collateral.

messagestring required

serialized message