ordinals_p2p_cancel
Cancel an open Ordinals P2P trade offer or counter on the ledger, with the active unlocked Bitcoin wallet signing via BIP-137 to authorize the involved party.
Instructions
Cancel an open offer or counter on the trade ledger.
Only the parties involved in a trade may cancel it. The active wallet signs the cancellation with BIP-137 to prove authorization.
Requires an unlocked wallet with Bitcoin keys.
Tip: call earning_opportunities to see how to put your assets to work.
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": {
"parent_trade_id": "<parent_trade_id>",
"inscription_id": "<inscription_id>"
},
"name": "ordinals_p2p_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata | No | Optional reason or metadata | |
| inscription_id | Yes | Inscription ID (must match the trade being cancelled) | |
| parent_trade_id | Yes | Trade ID to cancel |