Documentation
    Preparing search index...

    Interface MintReceipt

    interface MintReceipt {
        accountId: string;
        builderCodeId: string | null;
        entryProbability: number;
        fees: {
            builder: number;
            inventoryImpact: number;
            penalty: number;
            referral: number;
            subsidy: number;
            trading: number;
        };
        higherTick: bigint;
        lowerTick: bigint;
        marketId: string;
        orderId: bigint;
        owner: string;
        positionRootId: bigint;
        premium: number;
        quantity: number;
        raw: {
            builderFee: bigint;
            entryProbability: bigint;
            feeIncentiveSubsidy: bigint;
            inventoryImpactCharge: bigint;
            penaltyFee: bigint;
            premium: bigint;
            quantity: bigint;
            referralFee: bigint;
            tradingFee: bigint;
        };
    }
    Index
    accountId: string
    builderCodeId: string | null
    entryProbability: number

    0..1 range probability quoted at entry (your fill price per $1 payout).

    fees: {
        builder: number;
        inventoryImpact: number;
        penalty: number;
        referral: number;
        subsidy: number;
        trading: number;
    }

    Fee breakdown. referral is the slice of the trader-paid trading fee and congestion surcharge delivered to the referrer; inventoryImpact is the path-independent inventory-impact charge assessed on the mint.

    higherTick: bigint
    lowerTick: bigint
    marketId: string
    orderId: bigint

    Persist this: required to redeem/claim the position later.

    owner: string
    positionRootId: bigint

    Stable across partial-close replacements; equals orderId at mint.

    premium: number

    Premium paid into LP backing, in quote units.

    quantity: number

    Max payout actually minted, in quote units (mintAmount: chain-floored).

    raw: {
        builderFee: bigint;
        entryProbability: bigint;
        feeIncentiveSubsidy: bigint;
        inventoryImpactCharge: bigint;
        penaltyFee: bigint;
        premium: bigint;
        quantity: bigint;
        referralFee: bigint;
        tradingFee: bigint;
    }