Build a sale into a buy offer
build_otc_sell_to_bidSells amount (or "all") of the token into a buy offer (bid-N), paid its share of what the offer holds, less Scrooge's 0.5%. The approval is for exactly what is sold.
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": {
"offer": "<offer>",
"amount": "<amount>",
"wallet": "<wallet>"
},
"name": "build_otc_sell_to_bid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer | Yes | The buy offer, as list_otc names it: bid-2 | |
| amount | Yes | How much to sell, as a decimal number, or "all" | |
| wallet | Yes | The address that will sign and send the transactions |