@somnia-chain/markets-sdk / index / OpenOrder
Type Alias: OpenOrder
OpenOrder =
object
Defined in: query.ts:838
Properties
id
id:
string
Defined in: query.ts:840
Order id (${pool}_${orderId}).
orderId
orderId:
string
Defined in: query.ts:842
uint128 OrderId as a decimal string (pass to trader.cancelOrder).
pool
pool:
string
Defined in: query.ts:844
Lower-cased pool address the order rests on.
side
side:
BinarySide|null
Defined in: query.ts:847
BINARY YES/NO classification; NULL on spot orders (the indexer only sets it
for binary). For a buy/sell distinction that works on BOTH kinds use isBid.
isBid
isBid:
boolean
Defined in: query.ts:850
True = bid (buy), false = ask (sell). The canonical buy/sell flag — set for
spot AND binary, unlike side which is null on spot. Colour/label off this.
price
price:
string
Defined in: query.ts:851
quantityRemaining
quantityRemaining:
string
Defined in: query.ts:852