Build an OTC cancel
build_otc_cancelCancels the wallet's own offer (fixed-N, market-N or bid-N), taking back what is left: the token of a sell offer, the money of a buy offer.
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>",
"wallet": "<wallet>"
},
"name": "build_otc_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer | Yes | The offer, as list_otc names it | |
| wallet | Yes | The wallet that made the offer |