Prepare a lending deposit
build_depositReturns the unsigned transactions to deposit USDC for lending, optionally setting per-token lending limits in the same transaction (needed before a first deposit can be lent). Check get_risk_report for each token first.
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": {
"amount_usdc": "<amount_usdc>",
"lender": "<lender>"
},
"name": "build_deposit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lender | Yes | Lender wallet that will sign; used to skip unneeded approvals and check balances | |
| limits | No | Per-token lending limits to set in the same transaction. A first deposit needs at least one to be lent | |
| amount_usdc | Yes | USDC to deposit, e.g. 500 |