@somnia-chain/markets-sdk / index / OrderFill
Interface: OrderFill
Defined in: packages/sdk/src/trade.ts:135
A single fill that occurred within a tx (decoded from the pool's OrderFilled).
Properties
takerOrderId
takerOrderId:
bigint
Defined in: packages/sdk/src/trade.ts:137
On-chain id of the taker (incoming) order.
makerOrderId
makerOrderId:
bigint
Defined in: packages/sdk/src/trade.ts:139
On-chain id of the maker (resting) order that matched.
quantityFilled
quantityFilled:
bigint
Defined in: packages/sdk/src/trade.ts:141
Quantity exchanged in this fill, raw units (outcome tokens on binary, base on spot).
takerRemainingQuantity
takerRemainingQuantity:
bigint
Defined in: packages/sdk/src/trade.ts:143
Taker order's quantity still unfilled after this fill, raw units.
makerRemainingQuantity
makerRemainingQuantity:
bigint
Defined in: packages/sdk/src/trade.ts:145
Maker order's quantity still resting after this fill, raw units.
fillPrice
fillPrice:
bigint
Defined in: packages/sdk/src/trade.ts:150
Fill price — the YES price on a binary pool (raw collateral units per whole outcome token); raw quote units per whole base on a spot pool.