Markets
Get Max Borrow
Quote the maximum borrowable amount for a collateral size
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
