List asks
/sigmafi/zc/markets/{market}/asksBorrow orders and asks selling bond units or shares in one market, each with its quote now, its status, its checks, and borrowedByMe marking listings whose underlying live bond belongs to this wallet as borrower. Unconfirmed boxes are included and boxes a pending transaction spends are not. from and to keep rows with that many blocks to maturity.
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 asksZcPage▶
▶
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