Documentation
    Preparing search index...
    • Queue a mint of an exact payout quantity, priced at Pyth's signed price for its τ (queue::enqueue_exact_quantity). Returns the record ID (u64). maxCostRaw (all-in cap) and maxProbabilityRaw (entry-probability cap, at most 1e9) are required: there is no "unlimited" default on the queued path. Escrows min(max_cost, quantity, available − fee) plus the order fee. Command order is auth → enqueue.

      Parameters

      • config: OrdersGeneratedConfig
      • args: QueuedOrderTarget & {
            higherTick: bigint;
            lowerTick: bigint;
            maxCostRaw: bigint;
            maxProbabilityRaw: bigint;
            quantityRaw: bigint;
        }

      Returns (tx: Transaction) => TransactionResult