Import
Usage
Parameters
Return Type
- Type Definition
- Example Response
Examples
- Privy
- Wagmi
- Viem
Withdrawal Flow
The complete withdrawal process requires two transactions:The approval is typically only needed once per vault. After approval, subsequent withdrawals only require the
prepareWithdrawTxData step.Smart Wallet Batching
For smart wallets, you can batch both transactions into a single user confirmation:Error Handling
Related
- prepareWithdrawTxData - Execute withdrawal
- Withdrawals Guide - Complete examples
- Smart Wallets Guide - Batched withdrawals