@somnia-chain/markets-sdk / index / UnifiedTrade
Interface: UnifiedTrade
Defined in: unified/structs.ts:96
A fill, in the tradable's own terms (prices/amounts human units).
Properties
id
id:
string
Defined in: unified/structs.ts:98
Native fill id — unique per fill, stable across reads.
symbol
symbol:
string
Defined in: unified/structs.ts:100
The tradable symbol the fill is viewed on.
price
price:
number
Defined in: unified/structs.ts:102
Fill price, human units (binary: this outcome's probability).
amount
amount:
number
Defined in: unified/structs.ts:104
Filled quantity, human base units.
cost
cost:
number
Defined in: unified/structs.ts:106
price × amount, in quote units.
side?
optionalside?:"buy"|"sell"
Defined in: unified/structs.ts:108
Taker direction on this tradable's book; undefined when unresolved.
timestamp
timestamp:
number
Defined in: unified/structs.ts:110
Fill block timestamp (ms).
datetime
datetime:
string
Defined in: unified/structs.ts:112
ISO-8601 of timestamp.
info
info:
unknown
Defined in: unified/structs.ts:114
The native fill row (raw units, maker/taker addresses).