@somnia-chain/markets-sdk / index / FillRow
Type Alias: FillRow
FillRow =
object
Defined in: query.ts:1385
One fill as the indexer recorded it (mirror of the unified Fill entity —
spot, perp and binary fills share it).
Properties
id
id:
string
Defined in: query.ts:1387
Fill id (${blockNumber}_${logIndex}).
fillPrice
fillPrice:
string
Defined in: query.ts:1392
Execution price, raw quote units per whole base (binary: YES-probability scale). SPOT/PERP: the maker's limit price.
quantity
quantity:
string
Defined in: query.ts:1394
Base/outcome-token quantity filled, raw units.
quoteQuantity
quoteQuantity:
string
Defined in: query.ts:1396
Quote/collateral value = quantity × fillPrice / 10^baseDecimals (raw, floored).
maker
maker:
string|null
Defined in: query.ts:1398
Maker (resting) wallet, lowercased; null when unknown.
makerSide
makerSide:
BinarySide|null
Defined in: query.ts:1400
BINARY only — the maker's YES/NO side; null on SPOT/PERP.
taker
taker:
string|null
Defined in: query.ts:1405
Taker wallet, lowercased. Denormalized from the taker's OrderPlaced (which fires after the fill in the same tx) — null until that bridge lands.
takerSide
takerSide:
BinarySide|null
Defined in: query.ts:1410
BINARY only — the taker's YES/NO side; null on SPOT/PERP or until the taker's OrderPlaced is bridged.
kind
kind:
BinaryFillKind|null
Defined in: query.ts:1415
BINARY only — how the fill settled (direct trade vs mint/burn of a pair); null on SPOT/PERP or until the taker side is known.
takerIsBid
takerIsBid:
boolean|null
Defined in: query.ts:1420
True when the taker bought the base/YES (the maker was the ask); null until the taker side is known.
timestamp
timestamp:
string
Defined in: query.ts:1422
Timestamp (unix seconds) of the fill.
txHash
txHash:
string
Defined in: query.ts:1424
Tx hash the fill landed in.