Skip to main content

ixCancelWithdrawal

Cancels a previously queued withdrawal and returns the escrowed LP tokens to the depositor. Can only be called by the owner of the withdrawal account, and only before the withdrawal has been fully filled by the vault manager.

Usage

Parameters

Returns

TransactionInstruction — a single instruction that cancels the withdrawal and returns LP tokens.
After cancellation, the withdrawal account is closed and its rent is returned to the owner. The LP tokens are transferred from the vault’s LP escrow back to the owner’s token account.