Nolus Docs
ProtocolBorrowing

Quoting a position

Preview what a margin position would look like under current LPP utilization.

Users can query the factory contract to estimate loan terms based on a prospective collateral amount. The quote previews what a margin position would look like under current conditions.

Quoted parameters may change by the time the position is opened because they depend on real-time LPP utilization, which affects the interest rate.

The returned quote includes:

  • Total - the full size of the position (collateral + borrowed amount).
  • Borrowed - the amount the protocol will lend, in LPN.
  • Interest rate - the combined fixed rate, composed of the loan interest rate (to lenders) and the protocol interest rate (for buybacks).