withdraw_cdp
Withdraw collateral from a Cardano CDP by generating an unsigned transaction for client-side signing, supporting iUSD, iBTC, iETH, and iSOL assets.
Instructions
Withdraw collateral from a CDP — builds an unsigned transaction (CBOR hex) for client-side signing
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | User Cardano bech32 address | |
| asset | Yes | ||
| cdpTxHash | Yes | Transaction hash of the CDP UTxO | |
| cdpOutputIndex | Yes | Output index of the CDP UTxO | |
| amount | Yes | Lovelace amount to withdraw |