@somnia-chain/markets-sdk


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

Interface: OrderFill

Defined in: packages/sdk/src/trade.ts:102

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:104

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


makerOrderId

makerOrderId: bigint

Defined in: packages/sdk/src/trade.ts:106

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


quantityFilled

quantityFilled: bigint

Defined in: packages/sdk/src/trade.ts:108

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


takerRemainingQuantity

takerRemainingQuantity: bigint

Defined in: packages/sdk/src/trade.ts:110

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


makerRemainingQuantity

makerRemainingQuantity: bigint

Defined in: packages/sdk/src/trade.ts:112

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


fillPrice

fillPrice: bigint

Defined in: packages/sdk/src/trade.ts:117

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.