List offers
query
offersList → PaginatedOffers!Returns active offers across all fixed markets. buy: true is a buy (lend) offer; buy: false is a sell (borrow) offer. Use the where filters to narrow by rate, maturity, or size.
Arguments
firstIntNumber of items requested (max 200)
skipIntNumber of items skipped
whereOffersListFiltersisBuyBooleansearchStringloanTokenIdIn[String!]collateralTokenAddressIn[Address!]maturityGteBigIntmaturityLteBigIntrateGteBigIntrateLteBigIntamountGteBigIntamountLteBigIntamountUsdGteBigIntlltvGteBigIntlltvLteBigIntmakerIn[String!]takerAddresstargetedBooleanexcludeReadBooleanexcludeWhitelistedMarketsBooleanonlyWhitelistedLoanTokensBooleanorderByOffersListOrderByorderDirectionOrderDirectionResponse
items[Offer!]idID!makerAddress!buyBoolean!rateBigInt!maturityBigInt!availableAssetsBigInt!expiryBigInt!loanTokenTokensymbolString!decimalsInt!pageInfoPageInfocountTotalInt!Total number of items
Try it
Query
Variables
Example response
{
"data": {
"offersList": {
"items": [
{
"id": "0544873a-4e72-4ab3-9459-9d76bcf6d458",
"maker": "0x65484956Bb44C265623963A8C1b7150C8c8bFFa0",
"buy": true,
"rate": 1940240171,
"maturity": 1787097600,
"availableAssets": 14999663017,
"expiry": 1787000661,
"loanToken": {
"symbol": "USDC",
"decimals": 6
}
},
{
"id": "0b9f0966-def8-44b4-9905-6127f479b960",
"maker": "0x65484956Bb44C265623963A8C1b7150C8c8bFFa0",
"buy": true,
"rate": 1925820650,
"maturity": 1792281600,
"availableAssets": 14999663017,
"expiry": 1787042054,
"loanToken": {
"symbol": "USDC",
"decimals": 6
}
},
{
"id": "a192a1da-ecc9-4da6-a58c-a562a61a062a",
"maker": "0x65484956Bb44C265623963A8C1b7150C8c8bFFa0",
"buy": true,
"rate": 1940240171,
"maturity": 1787097600,
"availableAssets": 14999663017,
"expiry": 1787000661,
"loanToken": {
"symbol": "USDC",
"decimals": 6
}
}
],
"pageInfo": {
"countTotal": 76
}
}
}
}