Skip to main content

createFillWithdrawalInstruction

Fills a depositor’s queued withdrawal request with underlying tokens. This is a manager-only operation — the vault manager specifies which token and how much to allocate to the pending withdrawal. There is no high-level class method for this instruction; use the raw instruction builder directly. LP tokens are burned during this step. After a withdrawal is filled, the depositor can call Execute Withdrawal to receive their tokens.

Usage

Accounts

Args

Returns

TransactionInstruction — a transaction instruction ready to be added to a transaction.
A withdrawal may be partially filled across multiple calls with different tokens. The depositor can execute the withdrawal once all fills are complete and the lock period has passed.