Skip to main content
GET
Returns the largest amount the market will lend against a given quantity of collateral, computed by the contract at the current oracle price and collateral factor. Use it to drive a borrow slider before calling Open Loan. The response also reports oracle freshness, because a quote against a stale price will not be honoured by the contract.

Path Parameters

string
required
Market ID.

Query Parameters

string
required
Collateral quantity as a decimal string, for example "1000". Parsed at the collateral token’s decimals. Must be greater than zero.

Response Fields

object
When isStale is true, opening a loan against the stored price will revert. Either push a fresh NAV with Sync Oracle Price or attach a signedPrice from Sign Price to the borrow call.