brooder.tech

What actually happens to a stablecoin swap when the peg breaks mid-transaction

You get the pre-break rate if the transaction settles before the peg moves. You get the post-break rate if it settles after. The exact outcome depends on when the price feed updates relative to your swap's execution.

Swap crypto

Live rates · no account
0

You send from your own wallet straight to the exchanger — nothing to connect, no account, and you stay on this page throughout. Rates are indicative until a swap is opened.

The swap is carried out by an independent exchanger and the deposit address above is theirs. brooder.tech never holds, receives or controls your funds, has no key to that address, and earns a referral commission. Opening a swap sends your receiving address, IP, browser and timezone to the exchanger for their compliance checks; we store none of it. Check their terms, fees and country restrictions before sending anything.

Here is the detail. A stablecoin swap is not instantaneous. It is a sequence of steps. The sequence matters because a broken peg is a price event, and price events happen at discrete moments.

First, you submit a swap order. The system records the rate at that moment. It does not yet lock that rate. The rate is a snapshot of what the liquidity pool or order book is showing. On a decentralised exchange, that snapshot is taken from the on-chain price oracle. On a centralised exchanger, it is taken from their internal order book or an aggregated feed.

Second, the transaction enters a queue. On a blockchain, that queue is the mempool. On a centralised platform, it is a matching engine. The time spent in the queue is unpredictable. It can be seconds. It can be minutes. During that time, the peg can break.

Third, the transaction executes. Execution means the smart contract or the exchanger's ledger debits your input and credits your output. If the peg broke between submission and execution, the output amount is recalculated. The system uses the price that is current at execution time, not at submission time. This is the standard behaviour for most automated market makers and order books.

There is a nuance. Some platforms use a "slippage tolerance" parameter. You set it before you submit. It says "I accept a price change of up to X percent." If the peg break is smaller than your tolerance, the swap goes through at the new, worse rate. If the peg break exceeds your tolerance, the swap fails. You get your input back, minus the network fee. You do not get the peg-broken asset.

A second nuance: the type of stablecoin matters. A swap from USDC to USDT on the same chain uses a liquidity pool. The pool's price is determined by the ratio of its reserves. If the peg breaks, that ratio shifts. The pool algorithm reprices instantly. A swap from USDT on Ethereum to USDT on Tron uses a cross-chain bridge or a swap service. That service holds inventory on both chains. It can choose to honour the pre-break rate for a short window, or it can update its rate immediately. Most services update immediately, because a broken peg exposes them to arbitrage loss.

What happens if the peg breaks during the cross-chain leg specifically? Suppose you swap USDC on Ethereum for USDT on Tron. The service receives your USDC. It then needs to send USDT on Tron. If the Tron USDT peg breaks between receipt and send, the service will send the amount that matches the broken price. You get fewer USDT than you expected. The service does not absorb the loss. You do.

If the peg break is a depeg, meaning the stablecoin trades significantly below one dollar, your output is worth less in dollar terms. If the peg break is a repeg, meaning it trades above one dollar, you get more in dollar terms. Neither outcome is guaranteed. The system applies the rate at execution.

A final point: the transaction can be front-run by a bot that sees the peg break in the mempool and inserts its own trade ahead of yours. That bot can capture the arbitrage. Your swap then executes at a worse rate than the market would have given you otherwise. This is more common on Ethereum than on Tron, because Ethereum's mempool is public and Tron's is partially private.

If you want to understand the broader mechanics of moving value between stablecoins and volatile assets, the hub page under which this sits - "Swapping into and out of stablecoins" - covers the fundamentals of rate formation, liquidity depth, and why timing matters regardless of peg stability. The question here is narrower. The answer is simple in logic but unpredictable in practice. You get what the market offers when your transaction lands. A stablecoin peg is a promise, not a guarantee.

Not financial advice. brooder.tech publishes market data and general information about digital assets. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.

Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.

Back to defi yield