swap
Cancel a pending swap order. (admin access required, mainnet only)
Cancel a pending SundaeSwap order that is sitting at the script address. Only orders in OrderConfirmed state can be cancelled.
post/swap/cancel
Request
- Base URL: ./../api/v1/ (relative, and the document was published on a file host, not at the API’s origin)
- URL: ./../api/v1/swap/cancel
- Auth: API key in header token
Request body
Example request
{
"walletVkey": "wallet_verification_key_here",
"swapTransactionId": "clx1abc..."
}Response
Cancel transaction submitted
Example response
{
"cancelTxHash": "abc123def456..."
}Changes
No recorded changes to this operation across all 50 revisions of this API.