{s}omniamarkets

@somnia-chain/markets-sdk


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

Interface: OrderFill

Defined in: trade.ts:105

A single fill that occurred within a tx (decoded from the pool's OrderFilled).

Properties

takerOrderId

takerOrderId: bigint

Defined in: trade.ts:107

On-chain id of the taker (incoming) order.


makerOrderId

makerOrderId: bigint

Defined in: trade.ts:109

On-chain id of the maker (resting) order that matched.


quantityFilled

quantityFilled: bigint

Defined in: trade.ts:111

Quantity exchanged in this fill, raw units (outcome tokens on binary, base on spot).


takerRemainingQuantity

takerRemainingQuantity: bigint

Defined in: trade.ts:113

Taker order's quantity still unfilled after this fill, raw units.


makerRemainingQuantity

makerRemainingQuantity: bigint

Defined in: trade.ts:115

Maker order's quantity still resting after this fill, raw units.


fillPrice

fillPrice: bigint

Defined in: trade.ts:120

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.