collect_interest
Batch-collect accrued interest from one or more CDP positions into the interest collector, producing an unsigned CBOR-encoded transaction for client-side signing.
Instructions
Batch-collect accrued interest from one or more CDP positions into the interest collector — 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>",
"cdps": "<cdps>"
},
"name": "collect_interest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cdps | Yes | CDP UTxO references to collect interest from | |
| asset | Yes | ||
| address | Yes | Caller Cardano bech32 address (addr1... or addr_test1...) |