Skip to main content
Lock depositor LP in a new withdrawal request. queue_withdrawal returns QueueWithdrawalEvent as Borsh return data. Instruction data is one discriminator byte (0x04), followed by Borsh arguments in the order shown.

Authority and conditions

Depositor signs; withdrawal_account is a newly initialized signer account (not ordinary PDA). Positive LP; withdrawals/NAV must be unblocked.

Accounts

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

Arguments

Remaining accounts

None consumed by this handler. See common accounts for shared PDA conventions.
Token, LP, and AUM amounts use their respective atomic units; timestamps are Unix seconds. Fee rates use 10_000 = 100%.