Build an unsigned Indigo close-CDP transaction
close_cdpCreates an unsigned transaction to close an Indigo CDP, burning iAsset debt and reclaiming ADA collateral. Returns CBOR hex and summary for agent signing.
Instructions
Build a transaction that closes an Indigo CDP: burn the minted iAsset debt and withdraw the ADA collateral. Identify the CDP by the out-ref from get_position (protocol "indigo"). Returns an UNSIGNED transaction as CBOR hex with an empty witness set, plus a human-readable summary. This server never signs, never submits and never holds keys or funds — the agent signs it (CIP-30 signTx) and submits it. Requires BLOCKFROST_PROJECT_ID and INDIGO_SYSTEM_PARAMS_URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txHash | Yes | cdpOutRef.txHash from get_position | |
| address | Yes | Bech32 Cardano address that owns the CDP | |
| outputIndex | Yes | cdpOutRef.outputIndex from get_position |