redeem_cdp
Generate unsigned transactions to redeem iAssets from CDP positions on Cardano, preparing them for client-side signing and maximum redemption.
Instructions
Redeem iAssets from a CDP — builds an unsigned transaction (CBOR hex) for client-side signing. To redeem the maximum possible, pass the total minted amount.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | User Cardano bech32 address (addr1... or addr_test1...) | |
| asset | Yes | ||
| cdpTxHash | Yes | Transaction hash of the CDP UTxO | |
| cdpOutputIndex | Yes | Output index of the CDP UTxO | |
| amount | Yes | iAsset amount to redeem in smallest unit (pass total minted amount to redeem max) |