Documentation
    Preparing search index...

    One mint's cost decomposition — the fields of the chain's MintQuote, in human units with the exact integers alongside. cost is the account debit.

    interface MintCost {
        cost: number;
        costPerContract: number;
        entryProbability: number;
        exactProbabilities: boolean;
        fees: {
            builder: number;
            impact: number;
            penalty: number;
            subsidy: number;
            trading: number;
        };
        payoutMultiple: number;
        premium: number;
        quantity: number;
        raw: {
            builderFee: bigint;
            cost: bigint;
            entryProbability: bigint;
            impactCharge: bigint;
            penaltyFee: bigint;
            premium: bigint;
            quantity: bigint;
            subsidy: bigint;
            tradingFee: bigint;
        };
    }
    Index
    cost: number

    All-in account debit: premium + (trading − subsidy) + builder + penalty + impact.

    costPerContract: number

    All-in price per $1 of payout — cost / quantity, the number to compare across venues.

    entryProbability: number

    Fill price, 0..1 per $1 of payout, before fees.

    exactProbabilities: boolean

    True when boundary probabilities were supplied as raw integers rather than priced locally in float. Does not verify their source, freshness or the other quote inputs.

    fees: {
        builder: number;
        impact: number;
        penalty: number;
        subsidy: number;
        trading: number;
    }

    referral is not here: it is a split of protocol proceeds, not a trader debit.

    payoutMultiple: number

    Maximum payout divided by the all-in debit, including fees.

    premium: number

    Premium into LP backing.

    quantity: number

    Maximum payout bought (human quote units).

    raw: {
        builderFee: bigint;
        cost: bigint;
        entryProbability: bigint;
        impactCharge: bigint;
        penaltyFee: bigint;
        premium: bigint;
        quantity: bigint;
        subsidy: bigint;
        tradingFee: bigint;
    }