cancel_request_withdraw_vault instruction cancels a pending withdrawal request. The escrowed LP tokens are refunded to the user (minus any redemption fee that may apply), and the receipt account is closed.
This instruction can be called at any time after a
request_withdraw_vault has been created, regardless of whether the waiting period has passed.Discriminator
Parameters
This instruction takes no parameters beyond the discriminator.Accounts
CPI Struct
Implementation
After a successful
cancel_request_withdraw_vault call, the request_withdraw_vault_receipt account is closed and its rent is returned. The user may receive fewer LP tokens back than originally escrowed if the vault’s value has changed since the request was made.