Vault withdraw (with caller-supplied share balance)
POST/v1/actions/vaults/withdraw
POST variant for isAll=true when the worker can't read the operator's share balance against its own RPC — fork tests, custom RPCs, sandbox endpoints. Same query params as GET; the body supplies the balance.
When isAll=true the worker treats the body's sharesRaw as the truth and encodes vault.redeem(sharesRaw, receiver, operator). The query amount is ignored on this path.
When isAll is omitted/false the body is ignored (caller's amount is authoritative) — POST and GET behave identically.
Request
Responses
- 200
- 400
Transaction calldata + any approval(s) needed for the vault withdraw
Validation error