Documentation
    Preparing search index...

    Type Alias PlanMintOptions

    PlanMintOptions: SlippageOptions & (
        | { amount: number; orderFee?: "inclusive"
        | "exclusive" }
        | { quantity: number }
    )

    Options for read.planMint. amount plans a purchase form's spend (an all-in budget mint), and quantity plans an exact payout.

    Type Declaration

    • { amount: number; orderFee?: "inclusive" | "exclusive" }
      • amount: number

        The purchase amount in USDC.

      • OptionalorderFee?: "inclusive" | "exclusive"

        Whether amount is the whole debit, order fee included ('inclusive', the default), or the order fee is charged on top ('exclusive').

    • { quantity: number }