Skip to main content
GET
Returns live loan state by numeric loan ID, read from the contract with no database involvement. Use this when you need authoritative figures for a payoff quote, a health check, or a liquidation decision.

Path Parameters

string
required
Market ID.
integer
required
On-chain loan ID. Must be a positive integer.

Response Fields

object
Total payoff is principal plus accruedInterest. Interest accrues per block, so add a small margin when quoting a full repayment. The contract caps repayment at the actual debt, so a slight overpayment is not transferred.