@somnia-chain/markets-sdk / index / FillRow
Type Alias: FillRow
FillRow =
object
Defined in: packages/sdk/src/fills.ts:108
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: packages/sdk/src/fills.ts:110
Fill id (${blockNumber}_${logIndex}).
pool
pool:
string
Defined in: packages/sdk/src/fills.ts:112
Lowercased pool address the fill executed on.
fillPrice
fillPrice:
string
Defined in: packages/sdk/src/fills.ts:117
Execution price, raw quote units per whole base (binary: YES-probability scale). SPOT/PERP: the maker's limit price.
quantity
quantity:
string
Defined in: packages/sdk/src/fills.ts:119
Base/outcome-token quantity filled, raw units.
quoteQuantity
quoteQuantity:
string
Defined in: packages/sdk/src/fills.ts:121
Quote/collateral value = quantity × fillPrice / 10^baseDecimals (raw, floored).
maker
maker:
string|null
Defined in: packages/sdk/src/fills.ts:123
Maker (resting) wallet, lowercased; null when unknown.
makerSide
makerSide:
BinarySide|null
Defined in: packages/sdk/src/fills.ts:125
BINARY only — the maker's YES/NO side; null on SPOT/PERP.
taker
taker:
string|null
Defined in: packages/sdk/src/fills.ts:130
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: packages/sdk/src/fills.ts:135
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: packages/sdk/src/fills.ts:140
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: packages/sdk/src/fills.ts:145
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: packages/sdk/src/fills.ts:147
Timestamp (unix seconds) of the fill.
txHash
txHash:
string
Defined in: packages/sdk/src/fills.ts:149
Tx hash the fill landed in.