@somnia-chain/markets-sdk / index / CreateQuotePreflightInput
Interface: CreateQuotePreflightInput
Defined in: preflight.ts:157
Inputs for the create-quote preflight (§8e EARMARK-AT-CREATION): what the
payer (the funding wallet or MarketCreator contract) holds vs the FULL create
value — getSchedulingCost(def) + resolveReserve(). The reserve is attached
to the create and LOCKED per-market at onBind; there is no separate prepaid
gate. Fetch the total with quoteCreateMarketValue(def), or fetch the two
legs (getSchedulingCost(def) + resolveReserve()) separately.
Properties
balanceWei
balanceWei:
bigint
Defined in: preflight.ts:159
Native balance (wei) of whoever pays the create (EOA or MarketCreator).
schedulingCostWei
schedulingCostWei:
bigint
Defined in: preflight.ts:161
The hub's marginal getSchedulingCost(def) quote (0 = dedup reuse).
resolveReserveWei
resolveReserveWei:
bigint
Defined in: preflight.ts:165
The hub's resolveReserve() — the reserve ATTACHED to the create and
locked per-market at onBind (the bind reverts WrongReserveAttached if the
attached value is not exactly this).