Prepare: repay USDG
repayUnsigned transactions to repay USDG borrowed against a stock (part, or all with all: true).
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": {
"wallet": "<wallet>",
"symbol": "<symbol>"
},
"name": "repay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Repay everything owed | |
| amount | No | USDG to repay, in whole units as a decimal string, like "1.5" | |
| symbol | Yes | A stock on Borro by its ticker, like NVDA or AAPL (markets lists every one) | |
| wallet | Yes | The wallet's address (0x...); the transactions are built for it to sign |