Check swap status
Swap
Get Status
Check the status of a swap transaction
GET
Check swap status
Returns the current status of a cross-chain swap transaction. Use this to track the progress of swaps after the user has signed and submitted the transaction.Documentation Index
Fetch the complete documentation index at: https://docs.hypermid.io/llms.txt
Use this file to discover all available pages before exploring further.
The transaction hash on the source chain.
Source chain ID.
Destination chain ID.
The bridge/tool used. If not provided, Hypermid will auto-detect.
Status Values
| Status | Description |
|---|---|
NOT_FOUND | Transaction not found or not yet indexed |
PENDING | Transaction is being processed |
DONE | Swap completed successfully |
FAILED | Swap failed |
Sub-Status Values
| Sub-Status | Description |
|---|---|
WAIT_SOURCE_CONFIRMATIONS | Waiting for source chain confirmations |
BRIDGE_IN_PROGRESS | Bridge transfer is in progress |
WAIT_DESTINATION_TRANSACTION | Waiting for destination chain transaction |
COMPLETED | Fully completed |
PARTIAL | Partially completed (refund may follow) |
REFUNDED | Transaction was refunded |
SuperSwap Status Values
For SuperSwap routes (provider=superswap), the status field moves through a
specific sequence. Add provider=superswap to the query when polling:
| Status | Description | Terminal? |
|---|---|---|
INITIATED | Deposit registered, waiting for bridge | no |
BRIDGING | Hyperlane message in flight from source chain | no |
BRIDGE_CONFIRMED | Bridge delivered on PulseChain — preparing DEX swap | no |
SWAPPING | Piteas DEX swap executing on PulseChain | no |
COMPLETED | Output token delivered to the user’s wallet | yes ✅ |
FAILED | Unrecoverable failure — funds may need manual recovery | yes ❌ |
FALLBACK_SENT | DEX swap failed — USDCh sent to user as fallback | yes ⚠️ |
COMPLETED is 3–5 minutes
(Hyperlane delivery dominates). Stop polling once a terminal status is reached.
SuperSwap Refunds & Fallback
For SuperSwap (PulseChain) polls, the terminal statesCOMPLETED, FALLBACK_SENT, and FAILED each require different UX. In particular FALLBACK_SENT is a success-with-caveat — the user received bridged USDCh instead of their requested token because the DEX leg couldn’t execute; treat it as “swap complete, with a substituted output,” not as a failure.
See the Safety & Fallback guide for the full state machine, every failure scenario, and suggested UI copy for each terminal state.Authorizations
Partner API key. Optional for public endpoints, required for /v1/partner/*.
Query Parameters
Transaction hash (required for LI.FI + SuperSwap)
Bridge name (LI.FI swaps)
Source chain ID (LI.FI + SuperSwap)
Destination chain ID (LI.FI + SuperSwap — 369 for SuperSwap)
Set to 'near-intents' or 'superswap' to select the status backend. Omit for LI.FI.
Available options:
near-intents, superswap Correlation ID (required when provider=near-intents)