What a box would match
/sigmafi/zc/matches/{id}For an offer, what it would buy now in the zcs1 matching order. For an order or ask, the offers that would take it. Any box id in an offer's or ask's chain resolves to its current box.
Path parameters
idstringrequiredA box id, bond asset, share token or receipt id.
Query parameters
ifRevisioninteger · int64Answer 304 when the snapshot revision still equals this.
Responses
200The matchesZcObject▶
▶
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.
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
404No such box or token, or not this wallet's.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