Documentation
    Preparing search index...
    • Queue an early sell of closeQuantityRaw from the Open record recordId (queue::enqueue_redeem_open; the queue record ID, not the position's u256 order ID). The only early sell: a position held in the account can't be sold early. The record must be Open and belong to this account. minProbabilityRaw and minProceedsRaw are the close-side floors at τ and are required (0n disables either, so pass it on purpose). Escrows only the order fee. Returns the new record ID, which holds the position until the sell fills or refunds. Command order is auth → enqueue.

      Parameters

      • config: OrdersGeneratedConfig
      • args: QueuedOrderTarget & {
            closeQuantityRaw: bigint;
            minProbabilityRaw: bigint;
            minProceedsRaw: bigint;
            recordId: bigint;
        }

      Returns (tx: Transaction) => TransactionResult