Prepare a CantorFi vault transaction
cantorfi_prepareUnsigned transactions for one vault action (supply, borrow, repay or withdraw) and one amount, ready to be signed and sent in order by the user's or the agent's own wallet. Nothing is signed or sent by this server.
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": {
"action": "<action>",
"vault": "<vault>",
"amount": "<amount>",
"wallet": "<wallet>"
},
"name": "cantorfi_prepare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | Yes | Token symbol, vault id or vault address | |
| action | Yes | ||
| amount | Yes | Amount in token units, digits with an optional decimal point, for example 25.5 | |
| wallet | Yes | Address of the wallet that will sign and send |