Prepare a deposit into the lending pool
deposit_to_lending_poolPrepare depositing amountUsd in USDC into one tick of the DeFi lending pool (Sepolia Testnet). A tick sets the largest loan it funds (a share of a property's value, or a fixed dollar amount) and the longest loan length; with tick left out and several open, the answer lists them (ticks) so the person can choose. Interest is set by the pool, variable and not guaranteed, and deposits are at risk: a loan a borrower does not repay, and whose auction falls short, reduces the tick's value. A withdrawal is paid from funds the tick has not lent out; the rest waits until loans are repaid. Prepared, not sent: returns a signRequest (summary, warnings, signLink to fabrica.land, expiresAt 15 minutes out, payload null for now) and stores it so the sign page can load it. The person opens the link, signs in with that wallet and signs; nothing happens until then. The server holds no keys and submits nothing. wallet is the address that will sign.
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": {
"amountUsd": "<amountUsd>",
"wallet": "<wallet>"
},
"name": "deposit_to_lending_pool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | No | The pool's address, when the network has more than one | |
| tick | No | The pool tick: tick from the list this tool returns when tick is left out. A tick sets the largest loan it funds (a share of a property's value, or a fixed dollar amount) and the longest loan length | |
| wallet | Yes | The wallet that will sign (0x address). The sign page only lets this wallet sign. | |
| amountUsd | Yes | Amount to deposit in US dollars, paid in USDC (one USDC counts as one dollar) |