lend_deposit_quote
The unsigned calldata to lend usdg USDG: txs = USDG approve (when the allowance is short) then the vault's ERC-4626
deposit(usdg, account), with the share preview, the APY estimate and the cap / gate / balance checks as {error, reason}
(cap_exceeded, insufficient_balance, paused, not_eligible). You send every tx with the account's own owner key (needs ETH for
gas); this server holds no keys and sends nothing.
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": {
"account": "<account>",
"usdg": "<usdg>"
},
"name": "lend_deposit_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usdg | Yes | ||
| account | Yes |