liquidate_cdp
Liquidate undercollateralized CDPs through the stability pool by generating an unsigned Cardano transaction (CBOR hex) ready for client-side signing.
Instructions
Liquidate an undercollateralized CDP through the stability pool — builds an unsigned transaction (CBOR hex) for client-side signing
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>",
"asset": "<asset>",
"cdpTxHash": "<cdpTxHash>",
"cdpOutputIndex": "<cdpOutputIndex>"
},
"name": "liquidate_cdp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | ||
| address | Yes | User Cardano bech32 address (addr1... or addr_test1...) | |
| cdpTxHash | Yes | Transaction hash of the CDP UTxO | |
| cdpOutputIndex | Yes | Output index of the CDP UTxO |