Positions & Queries
Get Position
Retrieve one position with live on-chain figures and its full history
GET
Returns a single position record merged with live loan data from the market contract, plus every transaction recorded against it. This is the endpoint behind a position detail view.
On-chain values take precedence where a linked
onChainLoanId exists. Stored values are used as a fallback when the chain read returns nothing.
Path Parameters
string
required
Market ID.
string
required
Position ID.
Response Fields
object
status is read from the stored record and is not re-derived from chain state here. A loan repaid without a confirm call can still read ACTIVE until the next reconciliation pass. For a live view of whether the loan is open, read active from Get Loan, or call List Positions, which reconciles before returning.