Skip to main content
POST
Increases the borrowed amount on an active loan without posting more collateral. The contract reverts if the resulting debt would exceed what the existing collateral supports at the current price. Single transaction in both modes. No approval is involved because funds move out of the pool, not in.

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
Additional amount to borrow, as a decimal string in borrow asset units.
object
EIP-712 signed price from Sign Price. Omit to price against the stored oracle value.
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
Borrowing more moves the loan closer to its liquidation threshold. Read the resulting health factor from Get Loan afterwards, and expose it to the borrower before they commit.
Capacity is checked before any transaction is offered. An amount past what the collateral supports is refused with EXCEEDS_MAX_BORROW, and one the pool cannot fund with INSUFFICIENT_LIQUIDITY. That check is skipped when a signedPrice is supplied, because the contract then prices against the signature rather than the stored value. In that case the amount reverts on-chain instead. Compute headroom from Get Max Borrow against the loan’s collateral, less outstanding principal and accrued interest.

Error Codes