Send POST request to /exchange, or use the ExchangeClient SDKs.
redeemFromVault method to redeem shares from a vault and receive collateral.
Method: POST https://api.hotstuff.trade/exchange
| Field | Type | Description |
|---|---|---|
tx_hash | String | Transaction hash in hexadecimal format |
tx_type | Number | Transaction type identifier |
error | String | Error message if request failed, empty string on success |
data | Object | Response data object |
data.assets_redeemed | String | Amount of assets redeemed |
address | String | User wallet address in hexadecimal format |