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. Must be a positive integer sent as a JSON number.
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. Check headroom with Get Supply Caps if either is set, since exceeding a cap reverts on-chain with no preflight.