Prepare: lend gAIX to the shorts
gaix_lendUnsigned transactions to lend gAIX from the wallet into bgAIX, the vault that lends it to gAIX shorts: approve the gAIX (when needed), deposit. What it earns moves with use. Simulated from the wallet.
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>",
"amount": "<amount>"
},
"name": "gaix_lend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | gAIX to lend, as a decimal string, like "10" | |
| wallet | Yes | The wallet's address (0x...); the transactions are built for it to sign |