Skip to main content
Coinvane

News from across crypto

Fraxswap: How instant swaps and TWAMM orders work

Fraxswap pairs instant swaps with orders spread over time. Learn how each route works, why trade size matters, and what to check before you submit a swap.

The Coinvane Desk3 min read

Fraxswap: How instant swaps and TWAMM orders work

Fraxswap lets traders swap tokens at once or spread a trade over time, which can change how a large order affects a pool’s price. It uses an automated market maker, a system that prices trades from the balances in a token pool. Fraxswap’s public materials at fraxswap.co describe this mix of instant swaps and longer orders. The choice comes down to timing, size and the price movement a trader can accept.

What happens in an instant Fraxswap trade?

An instant swap trades against a pool in one transaction. The pool holds two tokens, and its pricing rule adjusts their balance as tokens move in and out. In Fraxswap’s core design, the product of the two balances stays roughly constant. If a trade takes a large share of one token from a pool, that token becomes more expensive in the pool. This price impact can make a large swap less favorable than several smaller trades might appear at first.

Before swapping, check the quoted amount, the minimum you will accept, and the pool’s available liquidity. Slippage is the difference between the quoted price and the final execution price. A tighter slippage limit can stop a trade from completing if the price moves too far, while a looser limit lets it proceed at a worse price. The best setting depends on how much price change you are willing to accept.

How does a Fraxswap TWAMM order work?

A TWAMM, or time-weighted average market maker, spreads an order over a chosen period instead of trading the full amount at once. The order sets an amount to sell and a duration. Fraxswap’s design treats it as many small virtual trades at an even rate, rather than asking the chain to process each tiny trade separately. The system calculates their combined effect when someone interacts with the pool.

That pacing can reduce the immediate price shock from a large order. It does not guarantee a better final price. The pool price can still move as other trades arrive, and arbitrage traders may trade against a pool when its price differs from other markets. A longer duration spreads the order further, but leaves it exposed to market changes for longer.

When should you choose an instant swap or a TWAMM?

Use an instant swap when completing the trade now matters more than pacing it. A TWAMM can suit a larger trade when reducing the impact of one immediate sale or purchase matters more. It trades speed for time: you give up immediate completion and accept that market conditions may change while the order runs.

  • Choose an instant swap for a smaller trade you want completed now.
  • Consider a TWAMM when you want to spread a larger trade over time.
  • Check the token pair, order amount, duration and estimated outcome before signing.

In either case, confirm that the wallet is on the right network and review each transaction before approving it. The useful distinction is simple: an instant swap acts now against the pool; a TWAMM schedules the trade across time. Neither removes price risk, so the better choice is the one that fits your timing and tolerance for price movement.