GET /v2/amplify/vaults). A single dedicated helper, GET /v2/amplify/calculateWithdrawalFee, computes the exact fee for a specific offerAmount + wantAsset redemption so you can preview it before the user submits a withdrawal.
Neither requires an RPC connection — the backend reads the indexer and on-chain state for you.
Dedicated Helpers
| Endpoint | Description |
|---|---|
GET /v2/amplify/calculateWithdrawalFee | Compute the fee a user would be charged for a specific offerAmount + wantAsset redemption |
Fields Returned by /v2/amplify/vaults
The following per-deployment fields are already present on the discovery response — there are no separate endpoints for them:
| Field | Shape | Description |
|---|---|---|
depositSupplyCap | { raw, formatted, decimals, hasCap } | Maximum total deposit. hasCap=false means the cap is maxUint256 (effectively uncapped) |
minimumWithdrawalOrderSize | { raw, formatted, decimals } | Minimum shareAmount accepted by /v2/amplify/withdraw |
assets[].depositFees / assets[].withdrawFees | { bps, percentage } | Per-asset fees (basis points + human-readable percentage) |
assets[].withdrawalSLAs | Protobuf duration strings (e.g. "86400s") | Expected delay, expiry buffer, queue and accountant-rate SLAs |
Common Error Responses
| Status | Meaning |
|---|---|
| 400 | Invalid parameters |
| 404 | Account or fee module not found for the given vaultAddress + chainId |
| 503 | Upstream RPC or indexer unavailable |