The ixExecuteWithdrawal method builds a transaction instruction that transfers the underlying tokens to the depositor. This is the final step of the withdrawal process — LP tokens are burned during the manager’s fillWithdrawal step.
Usage
Required Parameters
TokenAccountPair
Optional Parameters
Returns
Returns a TransactionInstruction that burns LP tokens from escrow and transfers underlying tokens to the depositor.
executeWithdrawal will fail if the vault manager has not yet called fillWithdrawal for your withdrawal request. Check that the withdrawal account has been filled before calling this instruction.
Checking Withdrawal Status
To check if a withdrawal has been filled, fetch the withdrawal account by its address: