@somnia-chain/markets-sdk / index / OrderDetail
Type Alias: OrderDetail
OrderDetail =
OrderRow&object
Defined in: packages/sdk/src/orders.ts:285
OrderRow plus placement attribution and the market it lives on — what SomniaMarketsClient.getOrder returns for an order detail view.
Type Declaration
owner
owner:
string
Wallet that owns the order, lowercased.
userData
userData:
string
Opaque caller-supplied uint64 tag (decimal string; "0" when unset).
placedAtBlock
placedAtBlock:
string
Block the order was placed in (decimal string).
lastUpdatedAtTimestamp
lastUpdatedAtTimestamp:
string
Timestamp (unix seconds) of the last indexed mutation to this order.
marketRef
marketRef:
MarketRef
The market the order's pool serves.
Named marketRef because main's OpenOrder.market is the bytes32 marketId
string — see the note on Fills.FillDetail.