@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / BlockOrderTouch

Type Alias: BlockOrderTouch

BlockOrderTouch = "FILLED" | "REMOVED"

Defined in: packages/sdk/src/activity.ts:575

How a resting order was touched IN the block being viewed.

DERIVED from the block's own fills, never read off Order.status: status is the row's CURRENT value, so an order placed in this block and cancelled three blocks later reads Cancelled here — a state from this block's future. See BlockOrder.

  • FILLED — the order is a maker or taker of a fill in this block.
  • REMOVED — it is not, so this block cancelled or amended it.