Lends Prepare Withdraw
lends_prepare_withdrawConstruct an unsigned collateral withdrawal transaction for the LENDS protocol. Provide the collateral token address and amount to prepare the withdrawal.
Instructions
Construct a collateral withdrawal transaction.
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>",
"amount": "<amount>"
},
"name": "lends_prepare_withdraw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| collateral | Yes |