---
title: "Confirm DEX transaction"
method: POST
path: "/dex/confirmTx"
tags: ["DEX"]
---

# Confirm DEX transaction

`POST /dex/confirmTx`

Confirms a DEX transaction with the provided transaction hash.
This endpoint should be called after the user has signed and submitted the transaction.
Without it the Order status may not be determined

## Request body

- DexConfirmTxRequest — Request body for confirming a DEX transaction
  - `id` string, required — The Houdini order ID
  - `txHash` string — The transaction hash to confirm. Required for on-chain orders, optional for off-chain orders. Supports multiple chain formats: EVM (0x + 64 hex), Solana (base58), Bitcoin (hex), TON, Tron, Sui.

## Response `200`

Transaction confirmed

- boolean

## Other responses

- `400` — Missing transaction hash for on-chain order
- `404` — Order not found
- `422` — Validation Failed
- `500` — Internal Server Error

---

[API](https://skmtc.net/houdiniswap/apis/houdiniswap-backend.md) · [All operations](https://skmtc.net/houdiniswap/apis/houdiniswap-backend/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/houdiniswap/houdiniswap-backend/revisions/2063dbc88d59/schema)
