x402_p2p_cancel
Cancel a peer-to-peer offer on Algorand with a single transaction. Provide the sender address and offer ID to generate a cancel_offer transaction, then sign and submit it.
Instructions
PAID $0.01 USDC — p2p/cancel: 1-txn group: [appl cancel_offer(offerId)] with offer box ref, fee 0.002 ALGO. Sign with your own wallet, then call the submit tool.
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": {
"sender": "<sender>",
"offerId": "<offerId>"
},
"name": "x402_p2p_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | address (offer maker) | |
| offerId | Yes | uint64 |