borrow_take_quote
The unsigned calldata to borrow usdg USDG against posted collateral: borrow(marketParams, usdg, 0, account, account), with the
post-action HF / LTV and a warning when the resulting LTV is above 70% of LLTV. Refused with oracle_stale when the ShareRiskOracle
is fail-closed (Blue cannot price the collateral), unhealthy when HF would drop below 1 (with the most you could add),
insufficient_liquidity when the market lacks the USDG. You send it with the account's own owner key; this server never sends.
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": "borrow_take_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usdg | Yes | ||
| market | No | ||
| account | Yes |