Documentation
    Preparing search index...
    • Queue an all-in-budget mint (queue::enqueue_exact_cost): sized at τ so the all-in cost fits maxCostRaw, at least minQuantityRaw. maxCostRaw is the budget and must be a real cap. Escrows min(max_cost, available − fee) plus the order fee. Returns the record ID. Command order is auth → enqueue.

      Parameters

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

      Returns (tx: Transaction) => TransactionResult