Skip to main content
Instant withdrawals let a depositor burn LP tokens and receive one reserve token immediately when the vault has enough executable reserve liquidity. Use the read helpers first, then build the reserve-withdrawal instruction. If capacity is unavailable for the requested output mint, use the queued withdrawal flow instead.

Check vault capacity

fetchInstantWithdrawalCapacity returns the vault-level amount that can currently be withdrawn from reserves for one output mint.

Return value

Check user capacity

fetchUserInstantWithdrawalCapacity applies the user’s spendable LP balance to the vault-level capacity.

Parameters

Quote an instant withdrawal

fetchInstantWithdrawalQuote quotes an executable instant withdrawal for a selected LP amount and output mint.

Parameters

Return value

Execute from reserves

Use ixExecuteWithdrawalFromReservesWithResolvedAumAccounts after quoting. The resolved helper includes derived AUM accounts from current strategy state, including positions that require RPC-derived accounts.

Required parameters

Optional parameters

Quotes depend on reserve balances, AUM, LP supply, and the instant withdrawal window. Fetch a quote and submit the transaction promptly.

Queued withdrawal fallback

Instant withdrawal only uses executable reserve liquidity. If the quote is unavailable or the output amount is too low, use ixQueueWithdrawal and ixExecuteWithdrawal instead.