Documentation
    Preparing search index...

    Interface MintAmountOptions

    Options for mintAmount (spend up to a premium budget, floor the quantity received).

    interface MintAmountOptions {
        maxCost?: number;
        minQuantity: number;
        spend: number;
    }
    Index
    maxCost?: number

    All-in cost ceiling in quote units (premium + fees). Omitted → uncapped.

    minQuantity: number
    spend: number

    Premium budget in quote units — the max premium paid (chain also caps it at the account balance).