Positions & Queries
List Positions
List every borrowing position recorded for a market
GET
Returns all positions for a market, newest first, each with its five most recent transactions.
The endpoint reconciles against the chain before reading. Loan state is pulled from the market contract and written back to the position records, so
healthFactor, collateralAmount, borrowedAmount, and status reflect current chain state rather than the last value the backend happened to write. If the RPC is unavailable the reconciliation is skipped and stored values are returned unchanged.
Path Parameters
string
required
Market ID.
Response Fields
object
Positions are recorded when a loan is opened through this API on confirm, and are backfilled from chain events during reconciliation. A loan opened by a wallet signing calldata directly is picked up on the next reconciliation pass rather than at broadcast time.
