@somnia-chain/markets-sdk / index / OrderFill
Interface: OrderFill
Defined in: packages/sdk/src/trade.ts:147
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:149
On-chain id of the taker (incoming) order.
makerOrderId
makerOrderId:
bigint
Defined in: packages/sdk/src/trade.ts:151
On-chain id of the maker (resting) order that matched.
quantityFilled
quantityFilled:
bigint
Defined in: packages/sdk/src/trade.ts:153
Quantity exchanged in this fill, raw units (outcome tokens on binary, base on spot).
takerRemainingQuantity
takerRemainingQuantity:
bigint
Defined in: packages/sdk/src/trade.ts:155
Taker order's quantity still unfilled after this fill, raw units.
makerRemainingQuantity
makerRemainingQuantity:
bigint
Defined in: packages/sdk/src/trade.ts:157
Maker order's quantity still resting after this fill, raw units.
fillPrice
fillPrice:
bigint
Defined in: packages/sdk/src/trade.ts:162
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.