Skip to main content
Return locked LP and close an ordinary unfilled request. cancel_withdrawal returns no data. Instruction data is one discriminator byte (0x1c), followed by Borsh arguments in the order shown.

Authority and conditions

Withdrawal owner signs; ordinary (not opt-out) request; fills empty; cancellation cooldown elapsed; closes account to owner.

Accounts

Fixed accounts use zero-based indices. S means signer; W means writable. Unmarked accounts are read-only non-signers.

Arguments

None.

Remaining accounts

None consumed by this handler. Requires positive requested LP and an unblocked NAV/AUM circuit breaker. Cancellation is unavailable after the first fill. See common accounts for shared PDA conventions.