Masumi Logo

/swap-acknowledge-timeout

Acknowledge a timed-out swap transaction. Checks on-chain state and recovers to the correct status: OrderConfirmed if the order UTXO still exists (allowing retry), Completed if the DEX executed the swap, or keeps the timeout state if the order tx never confirmed.

POST
/swap/acknowledge-timeout
token<token>

API key authentication via header (token)

In: header

Request Body

application/json

Acknowledge timeout request parameters

Response Body

application/json

curl -X POST "https://loading/./../api/v1/swap/acknowledge-timeout" \  -H "Content-Type: application/json" \  -d '{    "walletVkey": "wallet_verification_key_here",    "swapTransactionId": "clx1abc..."  }'
{
  "swapStatus": "OrderConfirmed",
  "message": "Cancel tx failed but order UTXO still exists. You can retry cancelling."
}
Empty
Empty
Empty
Masumi Kanji