Cancel an intent
Report a maker's on-chain cancellation. The server re-reads the covenant and never cancels on request.
Cancellation is an on-chain action. For a limit order the maker signs cancelEarly(makerPk, makerSig) using the intent's contractName and constructorArgs and broadcasts it. Then call this endpoint so the index reflects it.
POST /api/v1/intent/:id/cancel
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes | Intent id. |
txid |
body | string | no | Optional: the cancel transaction id. |
Dutch auctions and TWAP slices have no early exit. For them, howToExit gives the automatic refund time.