Prepare: lend
supplyUnsigned transactions to lend a stock to shorters (it earns lending fees) or USDG in the Borro USDG vault (it earns interest). With post: true, a stock is lent and posted in one step so USDG can be borrowed against it.
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>",
"asset": "<asset>",
"amount": "<amount>"
},
"name": "supply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post | No | Stock only: lend and post as collateral in one step | |
| asset | Yes | USDG, or a stock symbol | |
| amount | Yes | Amount to lend, in whole units as a decimal string, like "1.5" | |
| wallet | Yes | The wallet's address (0x...); the transactions are built for it to sign |