Vault withdraw
GET/v1/actions/vaults/withdraw
Build calldata for an ERC-4626 vault withdraw via the 1delta Composer. Native ETH is supported by passing receiveAsset=0x0 — the composer unwraps the vault's underlying back to ETH before forwarding to the recipient.
This endpoint targets passive ERC-4626 vaults. For Fluid's NFT-position margin vaults use /v1/actions/lending/withdraw.
Modes
isShares=false(default):amountis assets — the composer issuesvault.withdraw(assets, receiver, owner).isShares=true:amountis shares — the composer issuesvault.redeem(shares, receiver, owner).
For full exits, the caller pre-resolves an upper-bound via balanceOf and passes isAll=true so the composer tolerates rounding dust on sweep.
Request
Responses
- 200
- 400
Transaction calldata + any approval(s) needed for the vault withdraw
Validation error