Skip to main content

createCancelWithdrawalInstruction

Builds a raw instruction to cancel a previously queued withdrawal. The LP tokens locked in escrow are returned to the owner’s token account and the withdrawal account is closed. Called by the withdrawal account owner.

Usage

Accounts

Returns

TransactionInstruction — a transaction instruction ready to be added to a transaction.