Lends Prepare Repay
lends_prepare_repayConstruct a leUSD repayment transaction by specifying a collateral address and a maximum raw amount to repay.
Instructions
Construct a leUSD repayment transaction with a maximum raw amount.
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": {
"collateral": "<collateral>",
"maxAmount": "<maxAmount>"
},
"name": "lends_prepare_repay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxAmount | Yes | ||
| collateral | Yes |