Build an unsigned Indigo open-CDP transaction
open_cdpBuild an unsigned transaction to open an Indigo CDP by locking ADA collateral and minting an iAsset such as iUSD, returning CBOR hex for signing.
Instructions
Build a transaction that opens an Indigo CDP: lock ADA collateral and mint an iAsset (e.g. iUSD). Returns an UNSIGNED transaction as CBOR hex with an empty witness set, plus a human-readable summary. Pyth-priced markets (e.g. iUSD): the tx embeds a signed price with a ~280-second validity window, so sign and submit promptly after building — a paused/stale tx fails on-chain validation; rebuild instead. This server never signs, never submits and never holds keys or funds — the agent signs it (CIP-30 signTx) and submits it. ADA collateral only; requires BLOCKFROST_PROJECT_ID and INDIGO_SYSTEM_PARAMS_URL.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>",
"iasset": "<iasset>",
"collateralLovelace": "<collateralLovelace>",
"mintAmount": "<mintAmount>"
},
"name": "open_cdp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iasset | Yes | iAsset to mint, e.g. "iUSD" | |
| address | Yes | Bech32 Cardano address that will own the CDP and fund it | |
| mintAmount | Yes | iAsset amount to mint, in its smallest unit | |
| collateralLovelace | Yes | ADA collateral to lock, in lovelace (1 ADA = 1000000 lovelace) |