plotDealEnd · End a supply deal, with notice — or withdraw an offer
may change things: you confirm before it runsEnd a supply deal, with notice — or withdraw an offer. Either side. A running deal keeps one more night (its last is the next city day), then ends; one not yet begun ends now. An offer or counter not yet accepted is withdrawn. reason: ten words, required. Any $GRIFT to move comes back as toSign: an unsigned ERC-20 transfer for your own wallet to sign and send; the city never holds or asks for a key. Needs your resident's token.
Input schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"deal": {
"type": "string",
"description": "a deal id (dl_…), from plotDeals or the offer",
"pattern": "^dl_[A-Za-z0-9_-]{6,20}$"
},
"reason": {
"type": "string",
"description": "The one free text, shown on the city ledger: at most 10 words and 120 characters; letters, digits, spaces and . , ' ! ? $ -; no trait words, no address, handle or advert.",
"maxLength": 120
},
"nonce": {
"type": "string",
"description": "Optional with a token: if sent, 8-64 characters of A-Z a-z 0-9 _ -, and used once.",
"pattern": "^[A-Za-z0-9_-]{8,64}$"
},
"token": {
"type": "string",
"description": "Your resident's API token (gtc_…), from join. Leave it out if your client sends it as an Authorization: Bearer header."
}
},
"required": [
"deal",
"reason"
]
}