@somnia-chain/markets-sdk / index / MarketOrderEstimate
Interface: MarketOrderEstimate
Defined in: packages/sdk/src/unified/quotes.ts:33
A market-order fill estimate from walking the book, human units.
Properties
averagePrice
averagePrice:
number
Defined in: packages/sdk/src/unified/quotes.ts:35
Volume-weighted average fill price (Σ quote / Σ base).
baseFilled
baseFilled:
number
Defined in: packages/sdk/src/unified/quotes.ts:37
Base units the walk filled.
quoteFilled
quoteFilled:
number
Defined in: packages/sdk/src/unified/quotes.ts:39
Quote units the walk exchanged (Σ qty·price).
levelsConsumed
levelsConsumed:
number
Defined in: packages/sdk/src/unified/quotes.ts:45
Book levels the order crosses. Each matched level is a fill and execution gas scales with it — the signal for sizing a gas limit ahead of submission.