Documentation
    Preparing search index...
    • Queue a withdraw request: pull amount PLP shares from account custody into queue escrow, recording the account's receive address as the fill recipient. The pull auto-settles any flush-delivered PLP first. The flush withholds the protocol's withdraw fee from the marked payout, so min_usdc_out is measured after the fee. The account is paid only at a mark that quotes at least min_usdc_out for the whole amount — a price floor, not a promise of that much USDC: if idle liquidity covers only part of the payout, only the shares idle affords are burned, the fill is proportionally smaller at the same price, and the remainder stays queued with its limit rescaled. At the shipped attempt count of one, a flush whose mark quotes less cancels and refunds the request there and then; a higher configured count lets it rest and retry that many flushes first. Returns the queue index used to cancel before the flush.

      Parameters

      Returns (tx: Transaction) => TransactionResult