Lends Prepare Approve
lends_prepare_approveConstructs an exact ERC-20 approval transaction; setting amount to 0 revokes approval.
Instructions
Construct an exact ERC-20 approval transaction; amount 0 revokes approval.
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": {
"token": "<token>",
"spender": "<spender>",
"amount": "<amount>"
},
"name": "lends_prepare_approve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| amount | Yes | ||
| spender | Yes |