All-in account debit: premium + (trading − subsidy) + builder + penalty +
inventoryImpact — exactly what the chain withdraws (the deployed
compute_mint_quote's all_in_cost); pass this (plus your buffer) as maxCost.
Fill price, 0..1 per $1 payout.
Fee breakdown. referral is a PORTION of the trader-paid trading fee and
congestion surcharge routed to the referrer — it is already inside those
numbers and is NOT an extra debit. inventoryImpact is a separate charge and
IS part of cost.
True: computed by the real mint code path against real account state.
OptionalorderQueued previews only: the flat order fee, charged once at enqueue on top of cost. Show
it once per order, not per contract.
Premium paid into LP backing (quote units).
OptionalqueuedTrue when this previews a queued (delayed-execution) fill: read from the chain's
quote_* functions with the congestion penalty removed, since a queued fill pays none.
Set when the network's config records delayed execution.
Exact pre-trade quote: the dry-run receipt of the mint you are about to send.