Borrowing
Add Collateral
Post additional collateral to an existing loan
POST
Adds security tokens to an open loan, raising its health factor without repaying debt. This is the fastest way for a borrower to move a position away from liquidation.
CUSTODY markets require an approval on the collateral token first, returned as an explicit step. FREEZE markets do not.
Path Parameters
string
required
Market ID.
Body Parameters
integer
required
On-chain loan ID. A positive integer. Accepted as a JSON number or as a numeric string, so the value Get Loan returns passes straight back.
string
required
Security tokens to add, as a decimal string. Parsed at the collateral token’s decimals.
string
Hash of the transaction you broadcast for this operation. Send it to confirm the transaction and record the result. Omit it to receive the calldata.
Response Fields
object
Adding collateral is bounded by the market’s
maxUserCollateral and maxTotalCollateral caps. Both are checked against the loan’s borrower before any transaction is offered, so a pledge over a cap is refused with SUPPLY_CAP_EXCEEDED or USER_SUPPLY_CAP_EXCEEDED rather than reverting on-chain. Read headroom directly with Get Supply Caps.