List positions
query
fixedMarketPositions → PaginatedPositions!Returns fixed-rate positions. Scope with walletAddress for one account's positions, or with morphoFixedMarketId for every position in one fixed market — one of the two is required. Filter by positionType to separate borrow positions from lend positions.
Arguments
firstIntNumber of items requested (max 200)
skipIntNumber of items skipped
walletAddressAddresschainIdIntpositionTypePositionTypemorphoFixedMarketIdStringhasDebtBooleanorderByPositionOrderByorderDirectionOrderDirectionResponse
items[FixedMarketPosition!]!idString!positionTypePositionType!maturityBigIntMaturity timestamp (seconds). Null for open-term positions (vault lend).
aprFloatltvBigIntmarketTenorMarketMarket this fixedMarket belongs to. Use `market.whitelisted` to distinguish curated/listed markets from OTC. Null only when no market row exists for the fixedMarket (e.g. some synthetic positions).
idID!loanTokenToken!symbolString!pageInfoPageInfo!countTotalInt!Total number of items
Try it
Query
Variables
Example response
{
"data": {
"fixedMarketPositions": {
"items": [
{
"id": "15cfa98bba0f56af9ce489c4d14f78e1ef9d91a38ff101731ebd21dc490b279e",
"positionType": "BORROW",
"maturity": 1785369600,
"apr": 0.009147498187092096,
"ltv": null,
"market": {
"id": "e7041445-c77d-4406-922a-1f7f33dd6ac0",
"loanToken": {
"symbol": "USDC"
}
}
},
{
"id": "3dfa65983a12532401b4d3dce1c053b7500f13675dbba3c1a74324dc45d9aa78",
"positionType": "LEND",
"maturity": 1785369600,
"apr": 0.04002801899870246,
"ltv": null,
"market": {
"id": "e7041445-c77d-4406-922a-1f7f33dd6ac0",
"loanToken": {
"symbol": "USDC"
}
}
}
],
"pageInfo": {
"countTotal": 8
}
}
}
}