Build an OTC buy offer
build_otc_buy_offerPosts a buy offer on ScroogeOTCBids: amount of a token wanted for pay_total in ETH or USDG, which the contract holds until holders sell into it, whole or in part. Optional: one wallet only may sell (only_seller), the least share a sale must bring (min_sell_pct) and an end (ends_in_hours).
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": {
"token": "<token>",
"amount": "<amount>",
"pay_total": "<pay_total>",
"wallet": "<wallet>"
},
"name": "build_otc_buy_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pay | No | What it pays in (default ETH) | |
| token | Yes | The token wanted: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain | |
| amount | Yes | How much of it, as a decimal number such as 0.5 | |
| wallet | Yes | The address that will sign and send the transactions | |
| pay_total | Yes | What it pays for all of it, in `pay`, as a decimal number such as 0.5 | |
| only_seller | No | Optional: the only wallet that may sell | |
| min_sell_pct | No | Optional: the least share one sale must bring, 0 to 100 (default 0) | |
| ends_in_hours | No | Optional: hours until it ends (default never) |