Skip to main content
POST
Opens a new overcollateralized loan. The borrower deposits stock tokens as collateral and receives USDC. The maximum borrow amount is determined by the collateral value multiplied by the market’s collateral factor. Optionally pass a signedPrice from the Sign Price endpoint for an atomic price update.
Only the openLoan call is returned. Approve the market for at least collateralAmount of the stock token before broadcasting, or the loan reverts.

Path Parameters

string
required
Market ID.

Body Parameters

string
required
Stock tokens to post as collateral (18-decimal, e.g. "100").
string
required
USDC to borrow (6-decimal, e.g. "5000").
object
Optional EIP-712 signed price from the /sign-price endpoint.