List lend offers
/sigmafi/zc/markets/{market}/offersLend offers in one market with their curves, budgets, current batcher reward and status. from and to keep offers whose maturity window reaches that many blocks.
Path parameters
marketstringrequiredERG | SigUSDThe market:
ERGorSigUSD.
Query parameters
coverageinteger · int64Asks with cover of at least this many bps; offers with a floor of at most this many. Default 15000.
kindstringall | new | resale | sharesall,new(borrow orders),resale(bond units and shares) orshares. Defaultall.matchablebooleanLeave out paused, expired and flagged boxes. Default true.
gridbooleanOnly maturities on the 21,600-block grid, and window orders that can pick one. Default false.
frominteger · int64Least blocks to maturity.
tointeger · int64Most blocks to maturity.
sortstringapr | maturity | sizeapr(default),maturityorsize.cursorstringThe
nextvalue of the previous page.limitintegerPage size, 1 to 200. Default 50.
ifRevisioninteger · int64Answer 304 when the snapshot revision still equals this.
Responses
200One page of offersZcPage▶
▶
atZcAtThe snapshot a read or quote was taken from.
heightintegerblockIdstringindexedHeightintegerrevisioninteger · int64Changes whenever anything a read returns changes, the mempool included.
cutbooleanTrue when the book is at its size cap and left boxes out.
mempoolbooleanWhether unconfirmed boxes are laid over the confirmed book.
itemsobject[]nextstringnullableThe cursor of the next page.
304Nothing changed since `ifRevision`.▶
400A malformed field, or terms the contracts refuse.ApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description
503ZC tracking is off or not seeded, or the node, its index or the wallet did not answer. Nothing was sent.ApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description