Signature
Parameters
Returns
Withdraw request result with awithdrawKey for tracking
Return Type
Example
Partial Withdrawal
Withdrawal Flow
How It Works
- Gets max redeemable: If no shares specified, retrieves your maximum redeemable amount
- Requests redeem: Calls
requestRedeemon the vault contract - Gets withdraw key: Returns a unique key to track and claim this withdrawal
- Checks status: Returns whether the withdrawal is immediately claimable or pending
Notes
- Wallet must be connected via
connectAccount()before calling - Withdrawals are not instant — there may be a processing period
- Save the
withdrawKeyto claim your funds later - Use vaultClaim to claim your USDC when the status is claimable