Prepare: cancel a Bailouts offer
bailout_cancelUnsigned transaction cancelling a live offer on the version 2 trade account before anyone takes it: the owner cancels any, the agent the ones it posted. 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>",
"offer_id": "<offer_id>"
},
"name": "bailout_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | The wallet's address (0x...); the transactions are built for it to sign | |
| account | No | A version 2 trade account's address (default: the wallet's own, as its owner; an agent gives its owner's account) | |
| offer_id | Yes | The offer's number (bailouts shows each one's) |